I'm trying to debug and deploy a kivy app to my (android) phone using buildozer. Part of the app is a map (mapview using mbtiles) that requires sqlite3. Doing some research I found that I need to have
requirements = kivy,sqlite3,futures,requests,openssl
When I deploy my app and open the map, it crashes with the following error message
I/python (13917): sqlite3.OperationalError: unable to open database file
The path that points to the database is full length. I changed the file permissions to rw-rw-rw- and rwxrwxrwx of the database and the folder that contains the database (they were rw-rw-r-- / rwxrwxr-- before). I did this in the folder .buildozer/android/app/"databasefolder"/database. It still doesn't work and I wonder whether this is the correct way to change file permissions. Do I need to change anything in the android.permissions of the spec file?
I'm not the only one who had this problem, but the suggested solutions do not work for me or I'm not doing the right thing.
Could there be any other reason why the database cannot be opened?
Thanks for your help!