Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running: buildozer --verbose android debug deploy run #89

Closed
vitiral opened this issue Mar 10, 2014 · 10 comments
Closed

Error when running: buildozer --verbose android debug deploy run #89

vitiral opened this issue Mar 10, 2014 · 10 comments

Comments

@vitiral
Copy link

vitiral commented Mar 10, 2014

Edit: I am running 64 bit Ubuntu 12.04

I followed the guide from here: http://kivy.org/docs/guide/packaging-android.html

I am trying to compile the example pong app. Here is my buildozer.spec sheet
http://pastebin.com/R7uwpdtd

When I run buildozer --verbose android debug deploy run It gives the following errors:

Error: Target id 'android-14' is not valid. Use 'android list targets' to get the target ids.
BUILD FAILED
/home/user/.buildozer/android/platform/android-sdk-21/tools/ant/build.xml:399: SDK Platform Tools component is missing. Please install it with the SDK Manager (tools/android)
Total time: 0 seconds
Traceback (most recent call last):
  File "build.py", line 412, in <module>
    make_package(args)
  File "build.py", line 336, in make_package
    subprocess.check_call([ANT, arg])
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
...


@ntt2k
Copy link

ntt2k commented Mar 21, 2014

Hi there,
Dont know if u figured it out or not, but can u try : (from http://pastebin.com/R7uwpdtd)

  • On line 58 make sure there is a hash tag to comment out "#android.api = 14"
  • On line 137 I think it is more appropriate to set it to "log_level = 2" for debug

@taoder
Copy link

taoder commented Apr 6, 2014

Hi,

I got the same problem, and I did the two changes you ask and it didn't change a thing.
Before that I put 19 instead of 14 and the error was about 19 instead of 14. So I don't know were to look.

I think the problem is linked with the issue #21 .

Thank's

tito added a commit that referenced this issue Apr 8, 2014
…uild-tools if available. And install the API if necessary. closes #101, #21, #89.
@tito
Copy link
Member

tito commented Apr 8, 2014

Fixed in #101

@tito tito closed this as completed Apr 8, 2014
@foxbunny
Copy link

Hi, I'm on Ubuntu 14.04.1 64-bit. I'm trying to run a simple Kivy app that runs a web app in a separate thread. The buildozer config looks like this:

http://pastebin.com/SUyB8nFK

When I run buildozer --verbose debug deploy run I get the error described above:

Traceback (most recent call last):
  File "build.py", line 497, in <module>
    make_package(args)
  File "build.py", line 351, 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
...

Full log is here: http://pastebin.com/wumYMtqX

I've tried this both with 0.17 and 0.17-dev (master branch as of a few minutes ago). Since this issue looks like it's supposed to be fixed, can anyone tell me what I'm doing wrong here?

@fccoelho
Copy link

I am in the same situation as @foxbunny

@akshayaurora
Copy link
Member

akshayaurora commented Jan 29, 2015

@fccoelho which version of buildozer are you using? try updating the latest from pip

pip install --upgrade buildozer

There was a new release just yesterday. Make sure you have the latest package and open a new issue if you still have a issue with it.

@erm3nda
Copy link

erm3nda commented Jul 28, 2016

@akshayaurora It's buildozer, but as Kivy member i think you're sure about it's name :-)

@akshayaurora
Copy link
Member

akshayaurora commented Jul 28, 2016

@erm3nda I am but autocorrect does not agree with me :/, fixed!

@erm3nda
Copy link

erm3nda commented Jul 28, 2016

I was thinking on the "98% of people copypasting commands w/o reading them like monkeys" :-) thank you.

@guysoft
Copy link
Contributor

guysoft commented Sep 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants