關於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