Closed GoBig87 closed 5 years ago
When I run
print(os.listdir("/data/user/0/fin_aquatic_rentals.fin_aquatic_rentals/files/app"))
I get
I/python: ['p4a_env_vars.txt', 'main.pyc', '_python_bundle', '.nomedia', 'private.version', '.kivy']
Found the issue. I some how left a setup.py file in my main directory and that messed things up when it tried to copy my private data over as it just copied my main.py over
No compiled python is present to zip, skipping.
No setup.py/pyproject.toml used, copying full private data into .apk.
Before this said it found no compiled python files and was only moving main over.
Versions
Description
In my main.py I'm trying to call some python modules in another directory (MyAndroid) like this
I then build my app and launch in android studio and get this error
My .buildozer/android/app directory has my MyAndroid folder but it can never find it when running my app. I have pretty much the same folder structure for ios and buildozer had no problem building, running and finding my directories so I'm confused on to why p4a isn't finding them...
buildozer.spec
Command:
Spec file:
Logs