Hello,
I've developped a kivy app with Python2. It works good on my PC, but when I make the .apk with buildozer, the app works on my mobile phone until the first internet connection. Then, the app is blocked.
I've add every requirements about internet : requests, pyopenssl, openssl, hostpython2...
and Android permissions (INTERNET).
But it still doesn't work. I tried to find errors in the adb logcat, but nothing about connection issue...
I don't know what to do. I saw others developers who had the same problem but I didn't find any resolution about this.
Is there any other requirement or android permission I should add in the buildozer.spec ?
Thanks for your help
requirements = kivy, android, openssl, pyopenssl, httplib2
android.permissions = INTERNET, ACCESS_NETWORK_STATE
But, when I try it after on android, I still have the same message : "global name 'HTTPSConnection' is not defined"...When I try with another URL without SSL, I have the next error message :
"[Errno 104] Connection reset by peer"
It sounds like maybe the main thread is blocked by a function that never returns. What happens if you use something async, like a Kivy Urlrequest?
That would explain why there's no error in the log, although I don't know what's actually wrong. Have you tried different websites?