adb shell dumpsys window | findstr mCurrentFocus
输出
mCurrentFocus=Window{bb3cc2c u0 com.tencent.mm/com.tencent.mm.ui.LauncherUI}
调试非常的方便
mac要使用grep哦
adb shell dumpsys window | grep mCurrentFocus
adb shell dumpsys window | findstr mCurrentFocus
输出
mCurrentFocus=Window{bb3cc2c u0 com.tencent.mm/com.tencent.mm.ui.LauncherUI}
调试非常的方便
mac要使用grep哦
adb shell dumpsys window | grep mCurrentFocus