运行UI自动化脚本报错,和appium server连接出现问题

运行脚本报错:
An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path.
解决办法:
在终端使用命令行启动Appium(命令行:open /Applications/Appium.app/Contents/MacOS/Appium,我用的是Mac)
后续正常启动都可以正常建立连接。

posted @ 2020-04-09 16:44  咕噜噜的肥猫  阅读(317)  评论(0编辑  收藏  举报