首页 > 技术文章 > 运行UI自动化脚本报错,和appium server连接出现问题

fatCat1 2020-04-09 16:44 原文

运行脚本报错:
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)
后续正常启动都可以正常建立连接。

推荐阅读