Ricardo Parro Ricardo Parro - 1 year ago 81
Android Question

Where does home brew installs android-sdk

Where does home brew installs the android sdk when you run the command:

brew install android-sdk

I want to be able to add it to the PATH.


The installation folder of android-sdk is:


Therefore, if you want to add it to PATH, you need to add the following line to ~/.bashrc

export PATH=$PATH:/usr/local/Cellar/android-sdk/<VERSION>/tools:/usr/local/Cellar/android-sdk/<VERSION>/platform-tools

Don't forget to replace <VERSION> with an installed version, just take a look inside of android-sdk folder to see what version you have installed.