51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1931|回复: 3
打印 上一主题 下一主题

Appium连接真机出错:Original error: Appium Settings app is not running after ...

[复制链接]
  • TA的每日心情
    无聊
    昨天 09:47
  • 签到天数: 528 天

    连续签到: 1 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2021-12-14 11:38:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    1测试积点

    Appium连接真机错误提示: An unknown server-side error occurred while processing the command. Original error: Appium Settings app is not running after 5000ms
    连接真机一直报错,无法启动程序,SDK检查是匹配的,尝试很多办法都不行

    appium日志****
    1. 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",";"]]
    2. [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 ;'
    3. [ADB] Getting IDs of all 'io.appium.settings' processes
    4. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    5. [ADB] Starting Appium Settings app
    6. [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'
    7. [ADB] Getting IDs of all 'io.appium.settings' processes
    8. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    9. [ADB] Getting IDs of all 'io.appium.settings' processes
    10. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    11. [ADB] Getting IDs of all 'io.appium.settings' processes
    12. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    13. [ADB] Getting IDs of all 'io.appium.settings' processes
    14. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    15. [ADB] Getting IDs of all 'io.appium.settings' processes
    16. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    17. [ADB] Getting IDs of all 'io.appium.settings' processes
    18. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)'
    19. [AndroidDriver] Error: Appium Settings app is not running after 5000ms
    20. [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)
    21. [UiAutomator2] Deleting UiAutomator2 session
    22. [ADB] Running 'D:\SDK_new\SDK\platform-tools\adb.exe -P 5037 -s X2P0215729001143 shell am force-stop com.richinfo.thinkmail'
    23. [BaseDriver] Event 'newSessionStarted' logged at 1639389656050 (18:00:56 GMT+0800 (中国标准时间))
    24. [W3C] Encountered internal error running command: Error: Appium Settings app is not running after 5000ms
    25. [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)
    26. [HTTP] <-- POST /wd/hub/session 500 18635 ms - 747
    复制代码


    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情
    慵懒
    12 小时前
  • 签到天数: 1518 天

    连续签到: 2 天

    [LV.Master]测试大本营

    2#
    发表于 2021-12-15 12:19:23 | 只看该作者
    看下权限问题
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    15 小时前
  • 签到天数: 2814 天

    连续签到: 2 天

    [LV.Master]测试大本营

    3#
    发表于 2021-12-15 14:00:17 | 只看该作者
    没连接上
    回复

    使用道具 举报

  • TA的每日心情
    奋斗
    2024-10-22 14:23
  • 签到天数: 1007 天

    连续签到: 1 天

    [LV.10]测试总司令

    4#
    发表于 2021-12-15 15:18:33 | 只看该作者
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-19 22:36 , Processed in 0.061576 second(s), 21 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表