其他分享
首页 > 其他分享> > mac解决appium-doctor报ANDROID_HOME is NOT set

mac解决appium-doctor报ANDROID_HOME is NOT set

作者:互联网

 

 

Mac配置Appium时输入命令appium-doctor检测报错:WARN AppiumDoctor ✖ ANDROID_HOME is NOT set!

 

我的情况是:我配置的时候最开始ANDROID_HOME写的是ANDROID_SDK_HOME

后来改成了ANDROID_HOME 再检测一遍appium-doctor就好了

#ANDROID sdk的环境变量配置
export ANDROID_HOME=/Users/yyliya/Desktop/softwareinstall/android_sdk_macosx
export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/build-tools/29.0.3

 

标签:appium,set,doctor,HOME,PATH,ANDROID,tools
来源: https://www.cnblogs.com/yiyaxuan/p/14371165.html