解決Original error: Could not proxy command to remote server. Original error: Error: socket hang up


使用appium自動化測試時,報錯:Original error: Could not proxy command to remote server. Original error: Error: socket hang up

 

去掉uiautomator2后,可執行成功

desired_caps['automationName'] = 'uiautomator2'

 

經分析后,是因為uiautomator2版本不對

解決辦法:

在終端執行以下命令:

adb  uninstall io.appium.uiautomator2.server

adb  uninstall io.appium.uiautomator2.server.test

然后重新安裝Appium Settings即可解決以上問題


免責聲明!

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



猜您在找 python appium自動化報“Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server Appium異常:An unknown server-side error occurred while processing the command. Original error: Could n 解決idea中mysql連接失敗Could not create connection to database server. Attempted reconnect 3 times. Giving up. Appium問題解決方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate. Nodejs發送Post請求時出現socket hang up錯誤的解決辦法 解決selemium報錯 Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure Win10上啟動UICrawler自動遍歷時報 "org.openqa.selenium.WebDriverException: An unknown server-side error occur red while processing the command. Original error: Could not sign with default certifi cate." Connection to @localhost [2] failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up. python+appium 【已解決】真機運行appium報錯“WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c.......詳見內文 解決error: RPC failed; result=35, HTTP code = 0/fatal: The remote end hung up unexpectedly
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM