Ricardo Parro Ricardo Parro - 4 months ago 21
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.

Answer

The installation folder of android-sdk is:

/usr/local/Cellar/android-sdk/<VERSION>

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.

Comments