Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Running Kivy with Mapview on Android #43

Open
LukasG28 opened this issue Nov 30, 2020 · 2 comments
Open

Problem Running Kivy with Mapview on Android #43

LukasG28 opened this issue Nov 30, 2020 · 2 comments

Comments

@LukasG28
Copy link

Hello together!

I tried to build an app using kivy and mapview. On my mac with python it works perfectly. I convert the file to .apk via buildozer and this does work, too. But when I run the app (installed via .apk) on my S7edge, the loading screen appears and suddenly the app closes.

I attach my minimal Code snippet and my buildozer spec-file. To save you time:
"""
requirements = python3,kivy,openssl,futures,requests
garden_requirements = mapview
android.permissions = INTERNET, READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE
"""
One little thing I noticed: While installing the app, there are no questions asked about permissions. I don't know if this is correct.

Thank you in advance
Lukas

main.py.txt
buildozer.spec.txt

@AndiEcker
Copy link

AndiEcker commented Dec 1, 2020 via email

@LukasG28
Copy link
Author

LukasG28 commented Dec 1, 2020

This is a really useful information, but unfortunately it does not solve the problem. App still closes after loading screen. I am not sure how to go on. I could set up kivy on a ubuntu system to see if the problems relies on the operating system. My second idea would be to look in the logcat. I am not sure if the problem is caused by the buildozer setup or the usage...

Short update about my logcat after I managed to see it via android studio:
2020-12-01 20:51:58.231 609-756/system_process E/InputDispatcher: channel 'c8a4c69 org.glomb.apppackagename/org.kivy.android.PythonActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2020-12-01 20:51:58.245 609-668/system_process E/libprocessgroup: getpgid(29566) failed: Permission denied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants