V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zek
V2EX  ›  微信

求教,关于 adb shell 用 uiautomator 获取微信页面的问题

  •  
  •   zek · 2020-04-09 21:19:44 +08:00 · 1793 次点击
    这是一个创建于 1476 天前的主题,其中的信息可能已经有所发展或是发生改变。

    以下是代码:

    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

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

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5543 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:03 · PVG 14:03 · LAX 23:03 · JFK 02:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.