appium报错及解决方案

【已解决】mac上手动打开appium报错:“Could not find aapt Please set the ANDROID_HOME environment variable with the Android SDK root directory path”

解决过程:

  使用命令appium-doctor检查,发现没有错误。

  检查环境变量$ANDROID_HOME和aapt,也是正确的。

解决办法:

网上看到的,命令后启动正常,手工启动appium才有问题。我尝试使用命令后启动appium后,问题果然解决。命令行启动appium:

/Applications/Appium.app/Contents/MacOS/Appium

猜你喜欢

转载自www.cnblogs.com/haifeima/p/10267341.html