1 2 |
nano ~/.bash_profile |
Add lines:
1 2 3 4 5 |
export ANDROID_HOME=/Users/<username>/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/platform-tools export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/emulator |
Reopen the terminal and check if it worked:
1 2 |
source ~/.bash_profile echo $ANDROID_HOME |