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

2020-05-07 05:56发布

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条回答
太酷不给撩
2楼-- · 2020-05-07 06:39
  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/
查看更多
登录 后发表回答