本文共 149 字,大约阅读时间需要 1 分钟。
通过adb获取页面信息
adb shell uiautomator dump /sdcard/ui.xml
将页面文件上传到电脑
adb pull /sdcard/ui.xml
另外可以使用AndroidSDK/tools/bin/目录下uiautomatoriviewer.bat工具获取页面信息
转载地址:http://oagl.baihongyu.com/