使用 uiautomatorviewer 带二维码的魔改版报错:Error obtaining UI hierarchy,使用下载 uiautomatorviewer自动截图.bat 脚本无效

使用 uiautomatorviewer 都不是用的原版的,而是用的这个带二维码的魔改版
报错:
Error obtaining UI hierarchy

使用:下载 uiautomatorviewer自动截图.bat 脚本
报错
使用后没有:iux文件和png 没有这两个文件

使用黑窗口输入
adb shell uiautomator dump /sdcard/app.uix
adb pull /sdcard/app.uix E:\shot\app.uix
adb shell rm /sdcard/app.uix
adb shell screencap /sdcard/app.png
adb pull /sdcard/app.png E:\shot\app.png
adb shell rm /sdcard/app.png
报错:
adb: error: cannot create file/directory 'E:\shot\app.uix': No such file or directory

把手机文件pull到电脑
先输入命令adb remount ,意思是将设备改为可读可写
报错:
Not running as root. Try "adb root" first.

输入adb root
没有反映