Reputation: 11
I created an Apk file using buildozer, when I use anything from KivyMD 0.102.0 , the app does not launch on my honor play. But when not using anything from KivyMD it works with same spec
File are in the gdrive folder
https://drive.google.com/folderview?id=1x3JKFGyMkk2aVzYpG6j31zmCa4T2CMKA
Upvotes: 0
Views: 1384
Reputation: 11
The issue is resolved.
The application was crashing on android
On starting the application it showed kivy logo and then closed
I pulled out Logcat from my device using ADB. The issue is explained below-->
The application was not able to link to the 'kivymd' folder. There was an error in logcat saying that it was not able to find the 'kivymd. app', which is a python file in the kivymd folder.
Actually I did not include the 'kivymd' folder which had to pulled out of "KivyMD" folder that is created after cloning from and running setup.py On placing the kivymd folder in my project folder and cooking the apk, it worked
I also faced the same issue when I used "urllib" python library. It was fixed by exclusively adding it in 'requirements' of buildozer.spec file
So this basically happens when you don't include the libs. Required. It may also happen due version mismatch of python or kivy
Upvotes: 1