I am trying to build apk using buildozer and below is the error I've encountered:
ant/build.xml : Unable to resolve project target 'android-19
...
...
...
Traceback (most recent call last):
File "build.py", line 517, in <module>
make_package(args)
File "build.py", line 365, in make_package
subprocess.check_call([ANT, arg])
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
- Open Android SDK Manager
- To launch it we need to cd to /home/username/.buildozer/android/platform/android-sdk-24/tools and execute./android. Do not use sudo ./android as it gives you permissions issue later.
- Deselect All and select API 19
- Install and close.
If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged
No comments:
Write comments