Appium | UiAutomator exited unexpectedly with code 0, signal null

时间:2021-07-20 23:16:03   收藏:0   阅读:26

技术分享图片

 

解决方法:修改配置,将 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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!