-
Notifications
You must be signed in to change notification settings - Fork 29
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
Comments
seems the garden_requirements setting of buildozer.spec is no longer
supported - see issue kivy/buildozer#1186.
the workaround is to add mapview to the requirements setting as
`kivy_garden.mapview`
Am Mo., 30. Nov. 2020 um 18:38 Uhr schrieb LukasG28 <
[email protected]>:
… 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
<https://github.com/kivy-garden/mapview/files/5618018/main.py.txt>
buildozer.spec.txt
<https://github.com/kivy-garden/mapview/files/5618011/buildozer.spec.txt>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#43>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4U63UXS7JP3W6PBZGXUZ3SSPRDPANCNFSM4UH6MUBQ>
.
|
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: |
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
The text was updated successfully, but these errors were encountered: