Traceback (most recent call last):
File “build.py”,line 497,in
make_package(args)
File “build.py”,line 351,in make_package
subprocess.check_call([ANT,arg])
File “/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py”,line 540,in check_call
raise CalledProcessError(retcode,cmd)
subprocess.CalledProcessError: Command ‘[‘ant’,‘debug’]’ returned non-zero exit status 1Command Failed: /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python build.py –name ‘My Application’ –version 1.2.0 –package org.test.myapp –private /Users/user/Documents/Py/kvapk/.buildozer/android/app –sdk 14 –minsdk 8 –permission INTERNET –permission ACCESS_NETWORK_STATE –orientation portrait debug
我在OSX Mavericks上使用python 2.7.5,kivy 1.8.0,cython 0.19和buildozer 0.17
这是总产量:https://gist.github.com/feynman21/29d2f02c387112f2900b
解决方法
>运行〜/ .buildozer / android / platform / android-sdk-21 / tools / android来启动Android SDK Manager. (如果您有不同的SDK版本,请将android-sdk-21替换为相应的文件夹)>单击窗口底部的取消全选链接,然后选中“Android SDK Build-tools – 20”旁边的框. (注意:确切版本无关紧要,只需选择最新版本.)>单击“安装1包…”按钮.>单击“接受许可证”,然后单击“安装”按钮.>关闭SDK Manager并继续使用buildozer.