Buildozer “Command '['ant', 'debug']' returned non-zero exit status 1”

前端 未结 2 851
甜味超标
甜味超标 2021-01-20 15:15

I try to compile a basic code with buildozer. At first run it installs depencies and fail. Later runs it just fails.

any help needed desperately.

Thanks in a

相关标签:
2条回答
  • 2021-01-20 15:51

    This is a very generic error, it could mean a lot of things.

    One thing to check is that you have buildozer's dependencies installed...in particular, I think the lack of a jdk (and javac) can cause this. Do you have these?

    0 讨论(0)
  • 2021-01-20 16:05

    I recently faced this error and from github found that it happened because google has updated their sdk version to 24.So my quick fix in buildozer was to set following property in buildozer.spec and my app worked fine afterwards.

    # (int) Android SDK version to use
    android.sdk = 24
    
    0 讨论(0)
提交回复
热议问题