Appium | UiAutomator exited unexpectedly with code 0, signal null

 

解决方法:修改配置,将 automationName 指定为 UiAutomator2

 原配置:

{
  "platformName": "android",
  "deviceName": "b75d23ef",
  "appPackage": "com.tencent.mm",
  "appActivity": ".ui.LauncherUI",
  "automationName": "UiAutomator1",
  "noReset": "true",
  "fullReset": "false"
}

修改后的配置:

{
  "platformName": "android",
  "deviceName": "b75d23ef",
  "appPackage": "com.tencent.mm",
  "appActivity": ".ui.LauncherUI",
  "automationName": "UiAutomator2",
  "noReset": "true",
  "fullReset": "false"
}

 

posted @ 2021-07-20 20:37  xdd1997  阅读(653)  评论(1编辑  收藏  举报