关于uiautomatorviewer报错Error obtaining UI hierarchy,报错java.lang.reflect.InvocationTargetException

android8.1以后sdk tools自带的uiautomator直接打开,截取不到机器界面信息。可以使用以下方法手动截取。首先操作机器定位到要分析的界面。 1.截取uix资源文件 adb shell uiautomator dump /sdcard/screen.uix adb pull /sdcard/screen.uix D:/screen.uix 注明:新手机地址改成:/data/lo
相关文章
相关标签/搜索