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

subprocess.CalledProcessError #372

Closed
dkruk opened this issue Jun 23, 2016 · 2 comments
Closed

subprocess.CalledProcessError #372

dkruk opened this issue Jun 23, 2016 · 2 comments

Comments

@dkruk
Copy link

dkruk commented Jun 23, 2016

Today i get error

subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1

I fixed it by changing the version android.sdk to 21.

# (int) Android SDK version to use
android.sdk = 21
@FluxIX
Copy link

FluxIX commented Jul 9, 2016

I got this error but with a different cause.

The error you reported simply indicates the ant task failed, but the useful error will occur previously in the output. In my base case the error was caused by trying to use openjdk-7 to build the Android project. After I installed openjdk-8 (from http://ubuntuhandbook.org/index.php/2015/01/install-openjdk-8-ubuntu-14-04-12-04-lts/) and configured the java command to invoke the openjdk-8 version, the build succeeded.

@inclement
Copy link
Member

ant is deprecated now in p4a/android in favour of gradle, and I believe the call is currently working fine.

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

3 participants