appium error ANDROID_HOME is not set
// Method 1
// Open the terminal and type :
export ANDROID_HOME=/Applications/ADT/sdk
// Add this to the PATH environment variable
export PATH=$PATH:$ANDROID_HOME/bin
// Verify the settings by running:
appium-doctor
// Method 2
// 1.Open The Terminal
// 2.Type below command
nano ~/.bash_profile
// 3. Add these
export ANDROID_HOME=/Users/xxx/Library/Android/sdk
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=${JAVA_HOME}/bin:$PATH
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platforms-tools
export PATH=${PATH}:${ANDROID_HOME}/build-tools/27.0.1
export PATH=${PATH}:${JAVA_HOME}
// 4. Once copied save the file by pressing command+x .