You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
After compiling the Android apk on buildozer, the file is not found for the deployment.
buildozer android debug deploy run
...
[INFO]: <- directory context /home/andre/demo/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: # Copying APK to current directory
[INFO]: # Found APK file: /home/andre/demo/.buildozer/android/platform/build/dists/myapp/bin/MyApplication-0.1-debug.apk
[DEBUG]: -> running cp /home/andre/demo/.buildozer/android/platform/build/dists/myapp/bin/MyApplication-0.1-debug.apk ./
b'Could not find hostpython, will not compile to .pyo (this is normal with python3)\nNo compiled python is present to zip, skipping.\nthis should only be the case if you are using the CrystaX python\n'Traceback (most recent call last):
File "/home/andre/.local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.34', 'console_scripts', 'buildozer')()
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/__init__.py", line 1058, in run_command
self.target.run_commands(args)
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/target.py", line 104, in cmd_debug
self.buildozer.build()
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/__init__.py", line 212, in build
self.target.build_package()
File "/home/andre/.local/lib64/python3.5/site-packages/buildozer/targets/android.py", line 817, in build_package
copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
File "/usr/lib64/python3.5/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/home/andre/demo/.buildozer/android/platform/build/dists/myapp/build/outputs/apk/myapp-debug.apk'
Applying proposed patch should fix it. kivy/buildozer#312 (comment)
I'll leave the ticket open until this is fixed in buildozer so no manual patching is needed.
After compiling the Android apk on buildozer, the file is not found for the deployment.
This is a known buildozer issue kivy/buildozer#312
The text was updated successfully, but these errors were encountered: