Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97762

ANDROID_HOME VARIABLE is not recognized by appium

$
0
0

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?


Viewing all articles
Browse latest Browse all 97762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>