解决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