UiAutomatorviewer 无法截图 Android 8.0

Posted on 2019-08-06 13:56  扬帆起航_樱桃小丸子  阅读(1001)  评论(0编辑  收藏  举报
android8.1以后sdk tools自带的uiautomator直接打开,截取不到机器界面信息。 可以使用以下方法手动截取。 首先操作手机设备定位到要分析的app界面。 1.截取uix资源文件 adb shell uiautomator dump /sdcard/screen.uix adb