I'm building a Kivy application for Android. When it is run on my Linux machine from terminal it works as expected. When it is built and deployed to Android it fails with the following error:
I/python (14091): Traceback (most recent call last):
I/python (14091): File "{project path}/src/app/.buildozer/android/app/main.py", line 2, in <module>
I/python (14091): File "{project path}/src/app/.buildozer/android/app/_app.py", line 9, in <module>
I/python (14091): ImportError: No module named app.ui.first_screen
I/python (14091): Python for android ended.
The first_screen.py
(and the accompanying first_screen.kv
) does exist in the ui
package, but it appears the import path is different from what I am expecting. How do I need to structure my imports to properly load on Android?