Skip to content

Instantly share code, notes, and snippets.

@devcfgc
Created February 27, 2016 09:31
Show Gist options
  • Save devcfgc/34910f7bedc5a8086d7d to your computer and use it in GitHub Desktop.
Save devcfgc/34910f7bedc5a8086d7d to your computer and use it in GitHub Desktop.
Setting ANDROID_HOME enviromental variable on Mac OS X
In Terminal:
nano ~/.bash_profile
Add lines:
export ANDROID_HOME=/YOUR_PATH_TO/android-sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
Check it worked:
source ~/.bash_profile
echo $ANDROID_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment