Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties.so is not a valid ELF object #77

Closed
syncrtl64 opened this issue Dec 27, 2012 · 5 comments
Closed

properties.so is not a valid ELF object #77

syncrtl64 opened this issue Dec 27, 2012 · 5 comments

Comments

@syncrtl64
Copy link

So, I have a problem running anything made on my Arch Linux x64 python-for-android kivy thingy.

This is the adb logcat when i run the created apk file on my Android devices:

I/python  (17308): Initialize Python for Android
I/python  (17308): ['/data/data/org.demo.touchtracer/files/lib/python2.7/site-packages', '/data/data/org.demo.touchtracer/files/lib/site-python']
I/python  (17308): Android path ['/data/data/org.demo.touchtracer/files/lib/python27.zip', '/data/data/org.demo.touchtracer/files/lib/python2.7', '/data/data/org.demo.touchtracer/files/lib/python2.7/lib-dynload', '/data/data/org.demo.touchtracer/files/lib/python2.7/site-packages', '/storage/sdcard0/org.demo.touchtracer']
I/python  (17308): Android kivy bootstrap done. __name__ is __main__
I/python  (17308): Run user program, change dir and execute main.py
I/python  (17308): [INFO   ] Kivy v1.5.2-dev
I/python  (17308): [INFO   ] [Logger      ] Record log in /storage/sdcard0/org.demo.touchtracer/.kivy/logs/kivy_12-12-27_2.txt
I/python  (17308):  Traceback (most recent call last):
I/python  (17308):    File "/home/syn/kivy/kivydemo-for-android/touchtracer/main.py", line 4, in <module>
I/python  (17308):    File "/home/syn/kivy/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/app.py", line 216, in <module>
I/python  (17308):    File "/home/syn/kivy/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/base.py", line 21, in <module>
I/python  (17308):    File "/home/syn/kivy/python-for-android/build/python-install/lib/python2.7/site-packages/kivy/event.py", line 8, in <module>
I/python  (17308):    File "properties.pxd", line 3, in init kivy._event (kivy/_event.c:4281)
I/python  (17308):  ImportError: Cannot load library: get_lib_extents[767]:  1780 - /data/data/org.demo.touchtracer/files/lib/python2.7/site-packages/kivy/properties.so is not a valid ELF object
I/python  (17308): Python for android ended.

I have Android 4.1.2 on both of my devices(GT-I9100 and GT-P6210), both custom ROMs(JellyBam 3.2.0 and Paranoid Android 2.54)
The project.properties only has: "target=android-16" and the parameters of building the thingy are:

./build.py --dir ~/kivy/kivydemo-for-android/touchtracer --package org.demo.touchtracer --name "Kivy TouchTracer" --version 1.1.1 --permission FACTORY_TEST debug installd

This problem is with all the demo applications provided by kivy, and sorry if this isn't the right place to post this issue...If it's the wrong place, please tell me where I should seek answer to my dillema :( Also, feel free to ask what information I should provide except what is already posted here.

@tito
Copy link
Member

tito commented Jan 16, 2013

This is very weird :/ Do you know exactly what architecture is your processor? It should be ARM...

@syncrtl64
Copy link
Author

ARMv7 standard processor in GT-i9100 :) but the thing is that it duzn't
work on the galaxy tab 7.0 plus(p6210 - same processor, ARMv7)

On Wed, Jan 16, 2013 at 1:30 PM, Mathieu Virbel notifications@github.comwrote:

This is very weird :/ Do you know exactly what architecture is your
processor? It should be ARM...


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-12312574.

@tito
Copy link
Member

tito commented Jan 16, 2013

Even the kivy packages/applications published on the play store doesn't work?

@syncrtl64
Copy link
Author

They work o.o' But i gave up and used that VM thingy provided and it worked
flawlessy, maybe Arch's gcc or whatever was stupid...
Anyways, congrats on your epic work with this python-for-android project,
it's like godsent for someone like me, just entering the android
development world, the only decent experience being with python :) Thanks <3
On Wed, Jan 16, 2013 at 1:57 PM, Mathieu Virbel notifications@github.comwrote:

Even the kivy packages/applications published on the play store doesn't
work?


Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-12313463.

@tito
Copy link
Member

tito commented Jan 16, 2013

Ok then... I'll close the issue, and if somebody get it, please reopen with the full log :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants