Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET

问题:Appium的android真机启动手机时,会遇到以下问题:

An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET

经分析后,是因为uiautomator2版本不对

解决办法:

在终端执行以下命令:

adb  uninstall io.appium.uiautomator2.server
adb  uninstall io.appium.uiautomator2.server.test

然后重新安装Appium Settings即可解决以上问题

你可能感兴趣的:(Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET)