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"
}

转载仅为学习,不会商用。
欢迎转载原创,附文链接。
原文地址:https://www.cnblogs.com/xdd1997/p/15036939.html