# Aidl not found, please install it

Viewed 7348

I am trying to run buildozer. While running it gave the following error:

Aidl not found, please install it.  

So I tried to install aidl as described here But it gave me the following error

E: Unable to locate package aidl

I have updated the package index by sudo apt-get update,but stil it is not working. How can I install aidl?

3 Answers

after some lost brain cells i finally found the solution for it

here is what i did

$ sudo apt-get install aidl 
... 
$ which aidl /usr/bin/aidl
$ cp /usr/bin/aidl ~/.buildozer/android/platform/android-sdk/build-tools/31.0.0/
$ chmod 777 ~/.buildozer/android/platform/android-sdk/build-tools/31.0.0/aidl

and yeah that just solved my problem

Related