Android场景 - 005 - App布局查看

打开.../sdk/tools/monitor.bat

注意:Android 9.0以上无法直接使用uiautomatorviewer.bat

获取截屏与.uix文件,并pull到电脑:

adb shell uiautomator dump /sdcard/screen.uix
adb pull /sdcard/screen.uix /Users/PCNAME/Desktop/

注明:新手机地址改成:/data/local/tmp/**.uix

adb shell screencap -p /sdcard/download/test.png
adb pull /sdcard/download/test.png  /Users/PCNAME/Desktop/

参考

https://www.cnblogs.com/graybird/p/11306817.html

posted @ 2019-12-27 23:01  墨狮  阅读(288)  评论(0编辑  收藏  举报