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
Unable to build release. File "/usr/lib/python3.6/shutil.py", line 96, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory:
#851
Closed
OlivierGagnon opened this issue
Mar 10, 2019
· 4 comments
[DEBUG]: 27 actionable tasks: 26 executed, 1 up-to-date
[INFO]: <- directory context /home/megalex/kivy-helloworld/.buildozer/android/platform/python-for-android
[INFO]: # Copying APK to current directory
[INFO]: # APK filename not found in build output. Guessing...
[INFO]: # Found APK file: /home/megalex/kivy-helloworld/.buildozer/android/platform/build/dists/helloworld/build/outputs/apk/release/helloworld-release-unsigned.apk
[INFO]: # Add version number to APK
[INFO]: # APK renamed to helloworld-0.1-release-unsigned.apk
[DEBUG]: -> running cp /home/megalex/kivy-helloworld/.buildozer/android/platform/build/dists/helloworld/build/outputs/apk/release/helloworld-release-unsigned.apk helloworld-0.1-release-unsigned.apk
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
No compiled python is present to zip, skipping.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
Warning: failed to apply patch (exit code 1), assuming it is already applied: src/patches/SDLActivity.java.patch
Traceback (most recent call last):
File "/home/megalex/.local/bin/buildozer", line 11, in <module>
sys.exit(main())
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/__init__.py", line 1044, in run_command
self.target.run_commands(args)
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/target.py", line 140, in cmd_release
self.buildozer.build()
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/__init__.py", line 214, in build
self.target.build_package()
File "/home/megalex/.local/lib/python3.6/site-packages/buildozer/targets/android.py", line 1067, in build_package
copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
File "/usr/lib/python3.6/shutil.py", line 96, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/home/megalex/kivy-helloworld/.buildozer/android/platform/build/dists/helloworld/build/outputs/apk/release-unsigned/helloworld-release-unsigned.apk'
The text was updated successfully, but these errors were encountered:
Versions
Description
Unable to build release, files aren't copied and getting patch error.
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: