Question: 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](http://thelinuxfaq.com/ubuntu/ubuntu-17-04-zesty-zapus/aidl)
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?

Answer: 
Finally, I have found the solution. To install `aidl`, you need `libstdc++-6`. Previously I had a lower version of `libstdc++`, which causes problems while installing `aidl`. 

To update to `libstdc++-6`, try

```
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libstdc++6

```

After this, you will have `libstdc++6` installed.now you can simply install the `aidl` by typing:

```
sudo apt-get install aidl 

```
I was trying to compile for SDK 28, didn't have `build-tools` folder at all, so I had to run this:

```
~/./.buildozer/android/platform/android-sdk/tools/bin/sdkmanager "build-tools;28.0.0"

```

That command installed build tools with aidl inside `build-tools` folder and fixed the issue.