Create kivy apk with buildozer ERROR: "Aidl cannot be executed"
Question:
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!
Answers:
- Run ~/.buildozer/android/platform/android-sdk-20/tools/android
- Select Android SDK Build-tools 26.x.x
- Check aidl file in
~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/
Run ~/.buildozer/android/platform/android-sdk-20/tools/android
Select Android SDK Build-tools 26.x.x
Check aidl file in~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/```
this is not working on my pc.
Check that aidl can be executed
Search for Aidl
Run '/home/noob-hacker71/.buildozer/android/platform/android-sdk/build-tools/33.0.0/aidl'
Cwd None
Aidl cannot be executed
In case of a bug report, please add a full log with log_level = 2
Check configuration tokens
this is returned by buildozer.
can you please help me to fix
After follow your method I got this results.
noob-hacker71@Noob-Community:~/try$ ~/.buildozer/android/platform/android-sdk/build-tools/33.0.0/
bash: /home/noob-hacker71/.buildozer/android/platform/android-sdk/build-tools/33.0.0/: Is a directory
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!
- Run ~/.buildozer/android/platform/android-sdk-20/tools/android
- Select Android SDK Build-tools 26.x.x
- Check aidl file in
~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/
Run ~/.buildozer/android/platform/android-sdk-20/tools/android
Select Android SDK Build-tools 26.x.x
Check aidl file in~/.buildozer/android/platform/android-sdk-20/build-tools/26.x.x/```
this is not working on my pc.
Check that aidl can be executed
Search for Aidl
Run '/home/noob-hacker71/.buildozer/android/platform/android-sdk/build-tools/33.0.0/aidl'
Cwd None
Aidl cannot be executed
In case of a bug report, please add a full log with log_level = 2
Check configuration tokens
this is returned by buildozer.
can you please help me to fix
After follow your method I got this results.
noob-hacker71@Noob-Community:~/try$ ~/.buildozer/android/platform/android-sdk/build-tools/33.0.0/
bash: /home/noob-hacker71/.buildozer/android/platform/android-sdk/build-tools/33.0.0/: Is a directory