python - Android compile error using buildozer -
python - Android compile error using buildozer -
i trying compile .apk (this one) using buildozer. maintain getting command failed message below. i've tried using different python path, reinstalling buildozer, using different buildozer paths, compiling mac hd, compiling sudo, different cython version. none work.
traceback (most recent phone 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 1
command 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 net --permission access_network_state --orientation portrait debug
i'm on osx mavericks using python 2.7.5, kivy 1.8.0, cython 0.19 , buildozer 0.17
here total output: https://gist.github.com/feynman21/29d2f02c387112f2900b
this issue buildozer failing install android build-tools. fixed soon. until then, can work around manually installing build-tools (https://github.com/kivy/buildozer/issues/146#issuecomment-57061269):
run~/.buildozer/android/platform/android-sdk-21/tools/android launch android sdk manager. (if have different sdk version, replace android-sdk-21 appropriate folder) click deselect all link @ bottom of window, , check box next "android sdk build-tools -- 20". (note: exact version doesn't matter, pick newest version available.) click install 1 package... button. click accept license , click install button. close sdk manager , resume working buildozer. android python osx kivy
Comments
Post a Comment