Method 1
open Android Studio,At the bottom, there is a terminal button,click and open it.
Enter: adb shell dumpsys activity | findstr "ResumedActivity" ,and press enter.
Method 2
Click the window key (on the right side of the CTRL key) and enter the power shell.
Enter: adb shell dumpsys activity | findstr "ResumedActivity" ,and press enter.
Method 3
"Window key + R key" to open the computer's "run" window, enter "CMD",Enter your adb.exe Directory
Enter:adb shell "dumpsys window | grep mCurrentFocus",and press enter
Top comments (0)