51Testing软件测试论坛
标题: Appium连接真机出错:Original error: Appium Settings app is not running after ... [打印本页]
作者: 测试积点老人 时间: 2021-12-14 11:38
标题: Appium连接真机出错:Original error: Appium Settings app is not running after ...
Appium连接真机错误提示: An unknown server-side error occurred while processing the command. Original error: Appium Settings app is not running after 5000ms
连接真机一直报错,无法启动程序,SDK检查是匹配的,尝试很多办法都不行
appium日志****- Got the following command chunks to execute: [["pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";","pm","grant","io.appium.settings","android.permission.CHANGE_CONFIGURATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";"]]
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pm grant io.appium.settings android.permission.SET_ANIMATION_SCALE ; pm grant io.appium.settings android.permission.CHANGE_CONFIGURATION ; pm grant io.appium.settings android.permission.ACCESS_FINE_LOCATION ;'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Starting Appium Settings app
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [ADB] Getting IDs of all 'io.appium.settings' processes
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
- [AndroidDriver] Error: Appium Settings app is not running after 5000ms
- [AndroidDriver] at ADB.requireRunningSettingsApp (C:\Users\Administrator\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\settings-client-commands.js:72:11)
- [UiAutomator2] Deleting UiAutomator2 session
- [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell am force-stop com.richinfo.thinkmail'
- [BaseDriver] Event 'newSessionStarted' logged at 1639389656050 (18:00:56 GMT+0800 (中国标准时间))
- [W3C] Encountered internal error running command: Error: Appium Settings app is not running after 5000ms
- [W3C] at ADB.requireRunningSettingsApp (C:\Users\Administrator\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\settings-client-commands.js:72:11)
- [HTTP] <-- POST /wd/hub/session 500 18635 ms - 747
复制代码
作者: qqq911 时间: 2021-12-15 12:19
看下权限问题
作者: jingzizx 时间: 2021-12-15 14:00
没连接上
作者: 郭小贱 时间: 2021-12-15 15:18
参考这篇文章看下呢 https://blog.csdn.net/HelloGuoYing/article/details/108870854
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) |
Powered by Discuz! X3.2 |