IOError:[Errno 2]没有这样的文件或目录:... / build / outputs / apk / yolo-debug.apk'

时间:2018-06-12 10:09:27

标签: python python-3.x python-2.7 kivy buildozer

我正在尝试使用Buildozer创建一个APK文件,我收到此错误。

完整错误日志是:

Traceback (most recent call last):


File "/usr/local/bin/buildozer", line 11, in <module>
    load_entry_point('buildozer==0.33', 'console_scripts', 'buildozer')()
  File "/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 1058, in run_command
    self.target.run_commands(args)
  File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 91, in run_commands
    func(args)
  File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 103, in cmd_debug
    self.buildozer.build()
  File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 212, in build
    self.target.build_package()
  File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 808, in build_package
    copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/home/endaiz/PycharmProjects/percent_sum/.buildozer/android/platform/build/dists/yolo/build/outputs/apk/yolo-debug.apk'

我用Google搜索并发现了这个: https://github.com/kivy/buildozer/issues/632

这里的解决方案是修复android.py文件,但我甚至都没有。

0 个答案:

没有答案