Uiautomatorviewer报错:Unexpected error while obtaining UI hierarchy java.lang.reflect.InvocationT...

一、报错截图 android8以后sdk自带的uiautomator直接打开,截取不到机器界面信息。 建议可以使用以下方法手动截取 二、解决方法 1.截取uix文件 adb shell uiautomator dump /sdcard/sc.uix adb pull /sdcard/sc.uix 注明:新手机地址改成:/data/local/tmp/**.uix 2.截取截图 adb shell
相关文章
相关标签/搜索