BuildingJiang 2020-04-10 17:22 采纳率: 0%
浏览 755

adb shell 用 uiautomator 获取微信页面的问题报错

var shell = require('shelljs');

shell.exec('adb shell uiautomator dump /sdcard/dump.xml');

在执行:'adb shell uiautomator dump /sdcard/dump.xml' 这个命令时有一定几率报错,

错误信息如下:ERROR: null root node returned by UiTestAutomationBridge.

手机系统是 MIUI11

有没有大佬懂的,帮忙看看。谢谢!

  • 写回答

1条回答 默认 最新

  • sky藏锋 2021-06-04 22:01
    关注
    adb shell uiautomator dump /data/local/tmp/uidump.xml
    评论

报告相同问题?