I am trying to make an app using kivy garden's mapview
and my app actually work on computers, compile and gets deployed but when the app runs, it instantly close and logcat
says that the error is
KeyError: 'kivy.garden.mapview'
on lines like
from kivy.garden.mapview import MapView
.
It seems to be a quite recent error since I'm not the only one to have this problem but solutions I found seem to be outdated like adding garden_requirements = mapview
or kivy_garden.mapview
in the requirements in the buildozer.spec
file which I tried but doesn't work. The buildozer.spec
file doesn't even have a line speaking about garden so I basically didn't modify it except for things like title and importing .txt files. I am running all of this on an Ubuntu virtual machine on which the program works and the exact same machine already made working kivy apps that were not using mapview. Someone asked the same question 5 months ago but doesn't seem to have found an answer yet:
If you need any more information I will gladly provide it to you.
EDIT: The problem seems to be solvable by using the command garden install mapview
so I just have to run this command on my phone app's environment somehow.