Apk works on Android 5.1.1 but not on Android 9.

48 views
Skip to first unread message

Silver Metallic Barbarian

unread,
Jun 3, 2023, 12:20:04 PM6/3/23
to Kivy users support
Hello. I used Windows 10, Ubuntu and Buildozer to compile android app. The app works fine on android 5.1.1 but on android 9 I see loading screen first and then black screen. After writing command './adb logcat'  in Wondow Powershell, I see as in the attached files. Please help.
android5logcat.txt
buildozer.spec
android9logcat.txt

Robert

unread,
Jun 3, 2023, 1:01:11 PM6/3/23
to Kivy users support
> 06-03 18:10:47.268 5288 5288 F DEBUG : Cause: null pointer dereference

Usually this is a KivyMD issue, on some GPUs  (its an unrelated project that depends on Kivy)

Silver Metallic Barbarian

unread,
Jun 4, 2023, 12:00:43 PM6/4/23
to Kivy users support
Thank You. The command: <buildozer appclean>  didn't help. It seems that the easiest way would be to remove a couple of  modules from the code that are not available in kivymd 1.0.2. Do I have to install kivymd 1.0.2 on Windows or just include it in spec file requirements?

Robert

unread,
Jun 4, 2023, 12:31:36 PM6/4/23
to Kivy users support
From the point of view of the app Buildozer doesn't care what Python packages are installed with WSL (and even less with Windows Cmd)

But KivyMD is a moving target, if you use a different version I'd first test the app on the desktop with that KivyMD version
Reply all
Reply to author
Forward
0 new messages