Monday, May 30, 2016

ERROR: Target id 'android-xx' is not valid. Use 'android list targets' to get the target ids | Buildozer | Ubuntu


ERROR:
Target id 'android-xx' is not valid. Use 'android list targets' to get the target ids.
...
...
...
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

SOLUTION:

  1. Upgrade ant that is linked to Buildozer
  2. Install using sudo apt-get install ant.
  3. If ant is already installed and it is latest, just change the version in specification file of buildozer by following this link.




If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged

No comments:
Write comments