Kivy Launcher crash

872 views
Skip to first unread message

Jean-Paul Etourneau

unread,
Jan 7, 2016, 2:56:51 AM1/7/16
to Kivy users support
Hello,

I have made an application with kivy.

I have installed the last version of the Kivy Launcher witch it use the 1.9.1 version. All my application works on Kivy 1.9.0.

Now with the last version of Kivy launcher all application crash.
I have uninstalled the previous version before use the last version.

I have use adb logcat to have more log because no folder .kivy with log is find in my android application.

See the last log :
I/[SystemUI]Clock( 3242): onReceive = android.intent.action.CONFIGURATION_CHANGED
I/WindowStateAnimator( 1177): Starting window displayed
D/SplitWindow( 1177): check instance of lgWin Window{1fddbbc3 u0 org.kivy.pygame/org.renpy.android.PythonActivity}
V/WindowManager( 1177): Adding window Window{1fddbbc3 u0 org.kivy.pygame/org.renpy.android.PythonActivity} at 5 of 16 (before Window{3b0be028 u0 Starting org.kivy.pygame})
E/art     (29821): dlopen("/data/data/org.kivy.pygame/files/lib/python2.7/lib-dynload/_imaging.so", RTLD_LAZY) failed: dlopen failed: library "/data/data/org.kivy.pygame/files/lib/python2.7/lib-dynload/_imaging.so" not found
I/python  (29821): Starting audio thread
I/[SystemUI]QuickSettingsHandler( 3242): Got action android.intent.action.CONFIGURATION_CHANGED at Quick
I/[SystemUI]QuickSettingsHandler( 3242): Remote
I/[SystemUI]QSlide( 3242): onReceive = android.intent.action.CONFIGURATION_CHANGED
W/SDLSurface(29821): onDestroy() called
D/SDLSurface(29821): onDestroy() stop requested, wait for an event from the app

I think the  problem is here :
E/art     (29821): dlopen("/data/data/org.kivy.pygame/files/lib/python2.7/lib-dynload/_imaging.so", RTLD_LAZY) failed: dlopen failed: library "/data/data/org.kivy.pygame/files/lib/python2.7/lib-dynload/_imaging.so" not found

In my application I use sqlite3.

Is there any solution to have more logs ? Maybe there is a new change in version 1.9.1.

Best Regards,
Jp
 

Alexander Taylor

unread,
Jan 7, 2016, 6:05:46 AM1/7/16
to Kivy users support
I think there might be a bug with the 1.9.1 launcher.

Jean-Paul Etourneau

unread,
Jan 7, 2016, 10:55:11 AM1/7/16
to Kivy users support
I think is not a bug.
Because the game Deflectouch works perfectly.

I try to find more log.
 

Jean-Paul Etourneau

unread,
Jan 8, 2016, 5:55:53 AM1/8/16
to Kivy users support
No more log found.

I have build a very simple application to display a Label with no kv file --> Application crash.

In the adb logcat we can see :
D/SDLSurface(21099): onDestroy() stop finished waiting.
I/art     (21099): System.exit called, status: 0
I/AndroidRuntime(21099): VM exiting with result code 0, cleanup skipped.
I/WindowState( 1244): WIN DEATH: Window{2549c970 u0 org.kivy.pygame/org.renpy.android.PythonActivity}
W/ActivityManager( 1244): Force removing ActivityRecord{3701d040 u0 org.kivy.pygame/org.renpy.android.PythonActivity t542}: app died, no saved state
D/SplitWindowPolicy( 4005): updateActivityStateChanged: resumed=false, screenId=1, isScreenFull=true
D/SplitWindowPolicy( 4005): topRunningActivity=ActivityInfo{1f1155c6 or.....PythonActivity}, taskId=542, activityType=0, bIsSplit=false
D/InputDispatcher( 1244): Window went away: Window{2549c970 u0 org.kivy.pygame/org.renpy.android.PythonActivity}
W/WindowManager( 1244): Failed looking up window
W/WindowManager( 1244): java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@16758 does not exist
W/WindowManager( 1244):  at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8988)
W/WindowManager( 1244):  at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8979)
W/WindowManager( 1244):  at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2721)
W/WindowManager( 1244):  at com.android.server.wm.Session.remove(Session.java:196)
W/WindowManager( 1244):  at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3058)
W/WindowManager( 1244):  at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5588)
W/WindowManager( 1244):  at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3364)
W/WindowManager( 1244):  at android.os.Handler.dispatchMessage(Handler.java:102)
W/WindowManager( 1244):  at android.os.Looper.loop(Looper.java:135)
W/WindowManager( 1244):  at android.os.HandlerThread.run(HandlerThread.java:61)
W/WindowManager( 1244):  at com.android.server.ServiceThread.run(ServiceThread.java:46) 

I try to clear all data of the Kivy launcher and unistall it and try to re-install it.

Jean-Paul Etourneau

unread,
Jan 8, 2016, 7:52:16 AM1/8/16
to Kivy users support
I have find the probleme in the Kivy Launcher.

WHen put application in directory Kivy we must add a file android.txt like say the doc :


The file android.txt must contain:

title=<Application Title>
author=<Your Name>
orientation=<portrait|landscape>
 
But if I put the value "portrait" --> Application crash !!
If I put the value "landscape" --> Application works perfectly !!

I think there is a bug in the Application.

Max Bedacht

unread,
Jan 9, 2016, 11:30:13 AM1/9/16
to kivy-...@googlegroups.com
I am having the same problem.

Has anybody found a fix?

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jean-Paul Etourneau

unread,
Jan 11, 2016, 5:20:07 AM1/11/16
to Kivy users support
I think we must open a bug. But i don't known if a bug traker exist for the Kivy Launcher apps.

M. B.

unread,
Jan 11, 2016, 4:37:57 PM1/11/16
to Kivy users support

Devan Tamot

unread,
Jul 31, 2019, 3:19:18 PM7/31/19
to Kivy users support
Found a fix. Just change the version required in main to be "1.8.0" 
So under the imports part of main.py, just put the line:
"kivy,require("1.8.0")
No idea why this works but it does. It's really dumb. 

Best of luck!


On Saturday, January 9, 2016 at 11:30:13 AM UTC-5, Max Bedacht wrote:
I am having the same problem.

Has anybody found a fix?
On Fri, Jan 8, 2016 at 10:52 AM, Jean-Paul Etourneau <etourne...@gmail.com> wrote:
I have find the probleme in the Kivy Launcher.

WHen put application in directory Kivy we must add a file android.txt like say the doc :


The file android.txt must contain:

title=<Application Title>
author=<Your Name>
orientation=<portrait|landscape>
 
But if I put the value "portrait" --> Application crash !!
If I put the value "landscape" --> Application works perfectly !!

I think there is a bug in the Application.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

Devan Tamot

unread,
Jul 31, 2019, 3:33:41 PM7/31/19
to Kivy users support
Also, the python version might be out of date in the example kivy demos
Reply all
Reply to author
Forward
0 new messages