使用 buildozer ERROR 创建 kivy apk:“Aidl 无法执行"; [英] Create kivy apk with buildozer ERROR: "Aidl cannot be executed"
问题描述
我想将我的 kivy 应用程序上传到 Google Play 商店.为此,我需要一个 .apk 文件,该文件的 api 级别为 26 或更高.我创建的 .apk 的 apk 级别为 19.所以这是我将级别设置为 26 的方法:我安装了 API 26、27、28 和最新版本的构建工具.在 buildozer.spec 中,我设置了 android.api = 26.之后我运行buildozer android release deploy run".现在我收到此错误:
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:
"检查aidl是否可以执行
"Check that aidl can be executed
搜索 Aidl
运行'home/dennis/.buildozer/android/platform/android-sdk-20/build-tools/28.0.2/aidl'CWD 无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?
谢谢!
推荐答案
- 运行 ~/.buildozer/android/platform/android-sdk-20/tools/android
- 选择Android SDK Build-tools 26.x.x
- 检查
~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/
中的aidl文件
这篇关于使用 buildozer ERROR 创建 kivy apk:“Aidl 无法执行";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!