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!

Asked By: gainbrainer

||

Answers:

  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/
Answered By: ikolim
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
Answered By: Biri Baba
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.