使用 uiautomator dump 获取app上的页面元素

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36350532/article/details/81708339

1.输入:adb shell /system/bin/uiautomator dump --compressed /data/local/tmp/uidump.xml

2.查看页面是否存到了/data/local/tmp目录下

3.把/data/local/tmp目录下的uidump.xml文件pull到电脑桌面

猜你喜欢

转载自blog.csdn.net/qq_36350532/article/details/81708339