ADB 获取当前activity信息

2020-04-13 11:28:03 蜻蜓队长

借鉴:https://blog.csdn.net/wangjicong_215/article/details/79744599

 

8.1之前

window 通过adb shell dumpsys activity | findstr “mFocus”
Linux 通过adb shell dumpsys activity | grep “mFocus”

 

8.1之后

window 通过adb shell dumpsys activity | findstr “mResume”

Linux 通过adb shell dumpsys activity | grep “mResume”

以上内容来自于网络,如有侵权联系即删除
相关文章

上一篇: 多线程之两个线程交替打印的问题分析

下一篇: base64转换成文件图片

客服紫薇:15852074331
在线咨询
客户经理