Search code examples
kivyapkbuildozer

.py file works on pc but .apk doesnt work on android [crashing]


Im in trouble. I made some codes with [Python3].It all works fine when i run on PyCharm or Python3(on terminal).And then im using buildozer for create apk file.It works fine without any error.But when i upload apk to android device apk crashes.Im using lxml,requests,threading,kivy libraries and thats all in buildozer requests.

When i try to get image from kivy on FIRST page , it works fine but on next page when i try to get same images it crashes on Android.As same , my some of strings (not english words) works on first page as i want , but they're failing on next page and they turn into unicode symbols.

I found this: Kivy app doesn't work on android phone, although it works on the computer

But he didn't explain how did he made it and i can't ask him how! because of my low reputation.He solved this problem somehow and he closed his own question without any solution...


Solution

  • Thanks for advice @John Anderson.I found my fails on log. When i try to get web informations which is contain unsupported unicode chars (I mean my local alphabet characters), kivy taking'em with unicode names so my Image source list fails and apk crashes.Im happy because found aLogcat ROOT apk so i can check all python commands easily.