appium测试遇到坑

1.连接设备提示“offline”

解决办法:执行 #adb kill-server

                        #adb start-server

                       #adb devices

2.出现报错信息“Could not connect to server; are you sure it's running?”


解决办法:由于点错选择了customer server, 换一下automatic server,点击运行 就OK了

3.出现报错信息“An unknown server-side error occurred while processing the command. Original error: Unable to find an active device or emulator with OS 9.0. The following are available: FA69H0310174 (9)”


解决办法:发现是noreset拼写错误,修改重新启动服务器和多次连接设备即可

你可能感兴趣的:(appium测试遇到坑)