• 微信公众号:美女很有趣。 工作之余,放松一下,关注即送10G+美女照片!

Appium | UiAutomator exited unexpectedly with code 0, signal null

开发技术 开发技术 4天前 5次浏览

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

 


程序员灯塔
转载请注明原文链接:Appium | UiAutomator exited unexpectedly with code 0, signal null
喜欢 (0)