Go to terminal
- touch ~/.bash_profile
- ~/.bash_profile
Set the Java and Android SDK paths
Add the following paths into the file:
- export JAVA_HOME=path/to/the/java/home
- export ANDROID_HOME=path/to/the/android/sdk
- export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools