uiautomatorviewer 查看元素新思路

用adb 命令把图片和uix获取出来,再导入uiautomatorviewer 

adb shell uiautomator dump /data/local/tmp/uidump.uix
adb pull /data/local/tmp/uidump.uix
adb shell screencap -p /data/local/tmp/tmp.png
adb pull /data/local/tmp/tmp.png

 

posted @ 2018-01-11 09:13  testway  阅读(1204)  评论(4编辑  收藏  举报