kivy android app: Set the api level from 19 to 26 failed

£可爱£侵袭症+ 提交于 2019-12-02 22:15:23

问题


I want to create an android .apk file with kivy, buildozer and Ubuntu 16.04.

Now I had an android .apk but google playstore said, that the api level of 19 is not available. I have to set it on 26. Now i set the android.api to 26 in the buildozer.spec file. After running this for creating a new .apk file with an api level of 26 i get the following problem:

[INFO]: Avaiable API's are (19)
[WARNING]: Request API target 26 is not available, install it with the SDK and android tool.

回答1:


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


来源:https://stackoverflow.com/questions/51731647/kivy-android-app-set-the-api-level-from-19-to-26-failed

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