I am working in Mac machine . Configured android sdk and also set paths in ~/.bash_profile file. While running the Appium server I am getting the below error .
Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root directory path.
Appium Version - 1.7.1
Capabilities :
“platformName”: “Android”,
“platformVersion”: “7.1.1”,
“deviceName”: “xyzzy”,
“app”: “abc.apk”
~/.bash_profile file :
export JAVA_HOME= ---------
export ANDROID_HOME=-------------
export PATH=${JAVA_HOME}/bin
export PATH=${ANDROID_HOME}/build-tools:$PATH
export PATH=${ANDROID_HOME}/tools:$PATH
export PATH=${ANDROID_HOME}/platform-tools:$PATH
set PATH=${PATH}:${JAVA_HOME}/bin
Please help me on this . Can we automate android app using Mac or not ?