刚开始启动服务时,弹出授权提示,以为是手机app权限问题,后来debug后,发现了一个警告日志:UiAutomator did not shut down fast enough, calling it gone

在appium启动服务时调用adb.js文件,执行

info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session

而出现这个错误,经查阅资料解决方案:

找到Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js文件,并修改如下:

找到这行,

var outlines = stdout.split("\n");

在其下面添加

outlines.shift()

 

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2021-07-19
  • 2021-12-06
  • 2022-12-23
  • 2021-05-18
  • 2021-04-05
猜你喜欢
  • 2021-05-28
  • 2021-04-04
  • 2021-07-02
  • 2021-10-05
  • 2021-11-13
  • 2022-12-26
  • 2021-05-13
相关资源
相似解决方案