Android compile error using buildozer

后端 未结 1 1343
夕颜
夕颜 2021-01-05 11:31

I am trying to compile an .apk (this one) using buildozer. But I keep getting the command failed message below. I\'ve tried using a different python path, reinstalling build

相关标签:
1条回答
  • 2021-01-05 11:56

    This is an issue with buildozer failing to install the Android build-tools. Hopefully this will be fixed soon. Until then, you can work around this by manually installing build-tools (https://github.com/kivy/buildozer/issues/146#issuecomment-57061269):

    1. Run ~/.buildozer/android/platform/android-sdk-21/tools/android to launch the Android SDK Manager. (If you have a different SDK version, replace android-sdk-21 with the appropriate folder)
    2. Click the Deselect All link at the bottom of the window, and check the box next to "Android SDK Build-tools -- 20". (Note: the exact version doesn't matter, just pick the newest version available.) screenshot from 2014-09-27 13 17 13
    3. Click the Install 1 package... button.
    4. Click Accept License and then click the Install button. screenshot from 2014-09-27 13 19 19
    5. Close the SDK Manager and resume working with buildozer.
    0 讨论(0)
提交回复
热议问题