Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kivy Android Run Logcat
$ ./adb logcat | grep python
V/python (24216): metadata fullscreen is1
D/dalvikvm(24216): Trying to load lib /data/app-lib/org.test.accelexample-2/libpython2.7.so 0x4296dda0
W/linker (24216): libpython2.7.so has text relocations. This is wasting memory and is a security risk. Please fix.
D/dalvikvm(24216): Added shared lib /data/app-lib/org.test.accelexample-2/libpython2.7.so 0x4296dda0
D/dalvikvm(24216): No JNI_OnLoad found in /data/app-lib/org.test.accelexample-2/libpython2.7.so 0x4296dda0, skipping init
D/dalvikvm(24216): Trying to load lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_io.so 0x4296dda0
D/dalvikvm(24216): Added shared lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_io.so 0x4296dda0
D/dalvikvm(24216): No JNI_OnLoad found in /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_io.so 0x4296dda0, skipping init
D/dalvikvm(24216): Trying to load lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296dda0
D/dalvikvm(24216): Added shared lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296dda0
D/dalvikvm(24216): No JNI_OnLoad found in /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296dda0, skipping init
D/dalvikvm(24216): Trying to load lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_sqlite3.so 0x4296dda0
E/dalvikvm(24216): dlopen("/data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_sqlite3.so") failed: dlopen failed: library "/data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_sqlite3.so" not found
D/dalvikvm(24216): Trying to load lib /data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_imaging.so 0x4296dda0
E/dalvikvm(24216): dlopen("/data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_imaging.so") failed: dlopen failed: library "/data/data/org.test.accelexample/files/lib/python2.7/lib-dynload/_imaging.so" not found
I/python (24216): Starting audio thread
I/python (24216): Initialize Python for Android
I/python (24216): ['/data/data/org.test.accelexample/files/lib/python2.7/site-packages', '/data/data/org.test.accelexample/files/lib/site-python']
I/python (24216): Android path ['/data/data/org.test.accelexample/files/lib/python27.zip', '/data/data/org.test.accelexample/files/lib/python2.7', '/data/data/org.test.accelexample/files/lib/python2.7/lib-dynload', '/data/data/org.test.accelexample/files/lib/python2.7/site-packages', '/storage/emulated/0/org.test.accelexample']
I/python (24216): Android kivy bootstrap done. __name__ is __main__
I/python (24216): Run user program, change dir and execute main.py
I/python (24216): [INFO ] Kivy v1.8.0
I/python (24216): [INFO ] [Logger ] Record log in /storage/emulated/0/org.test.accelexample/.kivy/logs/kivy_14-05-10_0.txt
I/python (24216): [INFO ] [Factory ] 157 symbols loaded
I/python (24216): [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
I/python (24216): [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
I/python (24216): [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
I/python (24216): /data/data/org.test.accelexample/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:12: RuntimeWarning: import cdrom: No module named cdrom
I/python (24216): (ImportError: No module named cdrom)
I/python (24216): [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
I/python (24216): [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
I/python (24216): [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
I/python (24216): [INFO ] [Text ] Provider: pygame
I/python (24216): [DEBUG ] [App ] Loading kv <./accelerometerdemo.kv>
I/python (24216): [DEBUG ] [Window ] Ignored <egl_rpi> (import error)
I/python (24216): [INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
I/python (24216): [DEBUG ] [WinPygame ] Set window to fullscreen mode
I/python (24216): [DEBUG ] [Window ] Display driver android
I/python (24216): [DEBUG ] [Window ] Actual window size: 1920x1080
I/python (24216): [INFO ] [GL ] OpenGL version <OpenGL ES 3.0 V@45.0 AU@ (CL@3869936)>
I/python (24216): [INFO ] [GL ] OpenGL vendor <Qualcomm>
I/python (24216): [INFO ] [GL ] OpenGL renderer <Adreno (TM) 320>
I/python (24216): [INFO ] [GL ] OpenGL parsed version: 3, 0
I/python (24216): [INFO ] [GL ] Texture max size <4096>
I/python (24216): [INFO ] [GL ] Texture max units <16>
I/python (24216): [DEBUG ] [Shader ] Fragment compiled successfully
I/python (24216): [DEBUG ] [Shader ] Vertex compiled successfully
I/python (24216): [INFO ] [Shader ] program: <--From Vertex Shader:
I/python (24216): --From Fragment Shader:
I/python (24216): Link was successful.>
I/python (24216): [DEBUG ] [ImagePygame ] Load </data/data/org.test.accelexample/files/lib/python2.7/site-packages/kivy/data/glsl/default.png>
I/python (24216): [INFO ] [Support ] Android install hooks
I/python (24216): [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
I/python (24216): [INFO ] [OSC ] using <thread> for socket
I/python (24216): [DEBUG ] [Base ] Create provider from android
I/python (24216): [INFO ] [Base ] Start application main loop
I/python (24216): [INFO ] [Android ] found 17 joystick
I/python (24216): [INFO ] [Android ] create joystick <0>
I/python (24216): [INFO ] [Android ] discard joystick <0> cause no button
I/python (24216): [INFO ] [Android ] create joystick <1>
I/python (24216): [INFO ] [Android ] create joystick <2>
I/python (24216): [INFO ] [Android ] create joystick <3>
I/python (24216): [INFO ] [Android ] create joystick <4>
I/python (24216): [INFO ] [Android ] create joystick <5>
I/python (24216): [INFO ] [Android ] create joystick <6>
I/python (24216): [INFO ] [Android ] create joystick <7>
I/python (24216): [INFO ] [Android ] create joystick <8>
I/python (24216): [INFO ] [Android ] create joystick <9>
I/python (24216): [INFO ] [Android ] create joystick <10>
I/python (24216): [INFO ] [Android ] create joystick <11>
I/python (24216): [INFO ] [Android ] create joystick <12>
I/python (24216): [INFO ] [Android ] create joystick <13>
I/python (24216): [INFO ] [Android ] create joystick <14>
I/python (24216): [INFO ] [Android ] create joystick <15>
I/python (24216): [INFO ] [Android ] create joystick <16>
I/python (24216): [INFO ] [GL ] NPOT texture support is available
I/python (24216): [DEBUG ] [Atlas ] Load </data/data/org.test.accelexample/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
I/python (24216): [DEBUG ] [Atlas ] Need to load 1 images
I/python (24216): [DEBUG ] [Atlas ] Load </data/data/org.test.accelexample/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python (24216): [DEBUG ] [ImagePygame ] Load </data/data/org.test.accelexample/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python (24216): [INFO ] [Base ] Leaving application in progress...
I/python (24216): Python for android ended.
I/ActivityManager( 903): Process org.test.accelexample:python (pid 24216) (adj 0) has died.
V/python (24972): metadata fullscreen is1
D/dalvikvm(24972): Trying to load lib /data/app-lib/org.test.helloworld-1/libpython2.7.so 0x4296fc50
D/dalvikvm(24972): Added shared lib /data/app-lib/org.test.helloworld-1/libpython2.7.so 0x4296fc50
D/dalvikvm(24972): No JNI_OnLoad found in /data/app-lib/org.test.helloworld-1/libpython2.7.so 0x4296fc50, skipping init
D/dalvikvm(24972): Trying to load lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_io.so 0x4296fc50
D/dalvikvm(24972): Added shared lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_io.so 0x4296fc50
D/dalvikvm(24972): No JNI_OnLoad found in /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_io.so 0x4296fc50, skipping init
D/dalvikvm(24972): Trying to load lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296fc50
D/dalvikvm(24972): Added shared lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296fc50
D/dalvikvm(24972): No JNI_OnLoad found in /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/unicodedata.so 0x4296fc50, skipping init
D/dalvikvm(24972): Trying to load lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_sqlite3.so 0x4296fc50
E/dalvikvm(24972): dlopen("/data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_sqlite3.so") failed: dlopen failed: library "/data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_sqlite3.so" not found
D/dalvikvm(24972): Trying to load lib /data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_imaging.so 0x4296fc50
E/dalvikvm(24972): dlopen("/data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_imaging.so") failed: dlopen failed: library "/data/data/org.test.helloworld/files/lib/python2.7/lib-dynload/_imaging.so" not found
I/python (24972): Starting audio thread
I/python (24972): Initialize Python for Android
I/python (24972): ['/data/data/org.test.helloworld/files/lib/python2.7/site-packages', '/data/data/org.test.helloworld/files/lib/site-python']
I/python (24972): Android path ['/data/data/org.test.helloworld/files/lib/python27.zip', '/data/data/org.test.helloworld/files/lib/python2.7', '/data/data/org.test.helloworld/files/lib/python2.7/lib-dynload', '/data/data/org.test.helloworld/files/lib/python2.7/site-packages', '/storage/emulated/0/org.test.helloworld']
I/python (24972): Android kivy bootstrap done. __name__ is __main__
I/python (24972): Run user program, change dir and execute main.py
I/python (24972): [INFO ] [Logger ] Record log in /storage/emulated/0/org.test.helloworld/.kivy/logs/kivy_14-05-10_1.txt
I/python (24972): [INFO ] Kivy v1.8.1-dev
I/python (24972): [INFO ] [Python ] v2.7.2 (default, May 9 2014, 19:09:22)
I/python (24972): [GCC 4.8]
I/python (24972): Traceback (most recent call last):
I/python (24972): File "/Users/trivedigaurav/data/Projects/kivy/hello/main.py", line 1, in <module>
I/python (24972): File "/Users/trivedigaurav/data/Projects/kivy/python-for-android/dist/plyer/private/lib/python2.7/site-packages/kivy/app.py", line 321, in <module>
I/python (24972): File "/Users/trivedigaurav/data/Projects/kivy/python-for-android/dist/plyer/private/lib/python2.7/site-packages/kivy/base.py", line 29, in <module>
I/python (24972): File "/Users/trivedigaurav/data/Projects/kivy/python-for-android/dist/plyer/private/lib/python2.7/site-packages/kivy/event.py", line 8, in <module>
I/python (24972): File "properties.pxd", line 3, in init kivy._event (kivy/_event.c:6397)
I/python (24972): ImportError: dlopen failed: "/data/data/org.test.helloworld/files/lib/python2.7/site-packages/kivy/properties.so" is too small to be an ELF executable
I/python (24972): Python for android ended.
I/ActivityManager( 903): Process org.test.helloworld:python (pid 24972) (adj 0) has died.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.