報錯: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即可解決以上問題


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM