查看当前显示的activity
adb -d shell dumpsys activity activities | grep mResumedActivity
查看activity
adb shell dumpsys activity activities | grep Run #
查看堆栈
adb shell dumpsys activity activities | sed -En -e '/Running activities/,/Run #0/p'
查看当前显示的activity
adb -d shell dumpsys activity activities | grep mResumedActivity
查看activity
adb shell dumpsys activity activities | grep Run #
查看堆栈
adb shell dumpsys activity activities | sed -En -e '/Running activities/,/Run #0/p'
本文标题:adb 查看栈顶activity以及任务栈
本文链接:https://www.haomeiwen.com/subject/widhrhtx.html
网友评论