关于App自动化执行链接Appium服务包名正确但是报错An unknown server-side error occurred while processing the command


在执行链接Appium服务时连接失败可能原因:

1、报错截图:

2、先检查包名是否正确(正常情况下包名不会错误)通过命令行查看包名:aapt dump badging xxx.apk

3、检查对应包的appActivity是否正确:如果与命令行的activity不一致改过来就ok了

4、修改appActivity参数为,命令行中对应的activity name

5、重新运行,服务启动正常


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 Appium异常:An unknown server-side error occurred while processing the command. Original error: Could n 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 driver.startActivity 启动app出现 An unknown server-side error occurred while processing the command 报错 An unknown server-side error occurred while processing the command的解决办法 appium报错:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET Appium报错: An unknown server-side error occurred while processing the command. Original error: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission appium 报错:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Can't stop process; it's not currently runni... An unknown server-side error occurred while processing the command.处理 Appium(四) selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability 解决:切换context时报错selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command...
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM