-
Notifications
You must be signed in to change notification settings - Fork 498
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
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1 #234
Comments
Make sure you are using java version like openjdk-7-jdk or oracle version
and not gcj or other such option.
|
I don't have gcj installed, and
|
I haven't uploaded full error, so here it is: ... BUILD FAILED Total time: 1 second And here is my buildozer.spec (from default, changed only sdk, api and target): http://pastebin.com/WxME7paG |
Android-14 doesn't seems to exists anymore. Try using 19 instead. |
@tito please sir, am using ubuntu OS and am having same problem where and where should i look for #android-19. or is it the API you're talking about.? |
@jligeza (str) Source code where the main.py livesource.dir = . Then change it to something like (str) Source code where the main.py livesource.dir = home/jligeza/kivyapps/where_your_application_folder_is Notice:::: your .spec file allows the use of SUDO but buildozer does not allow it even if your app builds to run it in android device "IT CRASHES". |
I am new to kivy and I am trying to build + deploy a ,,hello world'' project.
This is the error message:
Traceback (most recent call last):
File "build.py", line 509, in
make_package(args)
File "build.py", line 357, 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
Command failed: /usr/bin/python2.7 build.py --name 'My Application' --version 1.0 --package org.test.myapp --private /home/stefan/kivy/test_project/.buildozer/android/app --sdk 14 --minsdk 8 --orientation landscape debug
Also tried to set in buildozer.spec
android.sdk
from default to 20-24, but neither worked.My SDK Manager looks like this:
I've downloaded buildozer today.
How can I build + deploy my project?
The text was updated successfully, but these errors were encountered: