Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 435 Bytes

dumpsys.md

File metadata and controls

26 lines (18 loc) · 435 Bytes

dumpsys 相关命令

获取当前Activity

Linux:

adb shell dumpsys activity | grep "mFocusedActivity"

Windows:

adb shell dumpsys activity  | findstr "mFocusedActicity"

获取当前Window

adb shell dumpsys window w | grep \/  |  grep name=