Create kivy apk with buildozer ERROR: “Aidl cannot be executed”

自作多情 提交于 2021-01-29 11:09:34

问题


I want to upload my kivy application to Google Play store. For that i Need an .apk file , which has an api Level of 26 or higher. The .apk that I created had an apk Level of 19. So this was my way to set the Level to 26: I installed API 26,27,28 and the newest version of the building tool. In buildozer.spec i set android.api = 26. After that I run "buildozer android release deploy run". And now I get this error:

"Check that aidl can be executed

Search for Aidl

Run 'home/dennis/.buildozer/android/platform/android-sdk-20/build-tools/28.0.2/aidl' CWD None Aidl cannot be executed"

What can i do to fix this?

Thank you!


回答1:


  1. Run ~/.buildozer/android/platform/android-sdk-20/tools/android
  2. Select Android SDK Build-tools 26.x.x
  3. Check aidl file in ~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/


来源:https://stackoverflow.com/questions/51781916/create-kivy-apk-with-buildozer-error-aidl-cannot-be-executed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!