Skip to content

properties.so is not a valid ELF object #77

Closed

Description

@syncrtl64

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.

Activity

  1. tito commented on Jan 16, 2013

    @tito
    Member

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

  2. syncrtl64 commented on Jan 16, 2013

    @syncrtl64
    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.

  3. tito commented on Jan 16, 2013

    @tito
    Member

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

  4. syncrtl64 commented on Jan 16, 2013

    @syncrtl64
    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.

  5. tito commented on Jan 16, 2013

    @tito
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions