Android Studio的控制台输入如下命令:
adb shell dumpsys activity activities
如下图 :
adb shell "dumpsys window | grep mCurrentFocus"
如下图:
Android Studio的控制台输入如下命令:
adb shell dumpsys activity activities
如下图 :
adb shell "dumpsys window | grep mCurrentFocus"
如下图: