I am trying to run my Selenium test cases on Appium. Upon created a localhost address for my real android device using Appium, I run my test cases.
I have clearly set my ANDROID_HOME variable on my .bash_profile file:
export ANDROID_HOME=/usr/local/Caskroom/android-sdk/
when I type
echo $ANDROID_HOME
I got
/usr/local/share/android-sdk
However, appium gave me the following error whichi states that ANDROID_HOME variable is not set up
[ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path.
ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
[ADB] Using 'adb' from '/usr/local/bin/adb'
How should I resolve this issue?