關於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
相關文章
相關標籤/搜索