How to set Android SDK PATH in Mac
Generally the Android SDK is installed in /Users/userName/Library/Android/sdk folder in Mac.
Open Terminal and follow below steps:
Go to your home directory
Open Terminal and follow below steps:
Go to your home directory
cd
Create user bash profile in user home directory using nano
$ nano .bash_profile
Add the PATH variable to .bash_profile
export ANDROID_HOME=/Users/userName/Library/Android/sdkexport PATH=$PATH:$ANDROID_HOME/emulatorexport PATH=$PATH:$ANDROID_HOME/toolsexport PATH=$PATH:$ANDROID_HOME/tools/binexport PATH=$PATH/:$ANDROID_HOME/platform-tools
To Save the changes: Ctrl+O, a message will appear to write a file name, Press Enter/Return.
To Exit : Ctrl+X
Load the .bash_profile file.
$ source .bash_profile
Comments
Post a Comment