我在运行buildozer android debug deploy run
时遇到以下错误(VirtualBox上的Ubuntu 64 14.04):
Traceback (most recent call last):
File "build.py", line 491, in <module>
make_package(args)
File "build.py", line 354, in make_package
subprocess.check_call([ANT, arg])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
# Command failed: /usr/bin/python2.7 build.py --name Mathcore --version 0.0.1 --package org.test.mathcore --private /home/necronomicron/Code/Mathcore/.buildozer/android/app --sdk 14 --minsdk 8 --orientation landscape debug
虽然我找到了this,但它说它已经关闭了。我也是Linux的新手。
答案 0 :(得分:1)
运行buildozer --verbose android debug
并粘贴完整输出。虽然猜测,这是因为你缺少32位库。如果是这样,你需要像
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386
如果这不起作用,您应该寻找在您的ubuntu版本中安装这些软件包的正确方法,我不记得这个示例的版本。