可以在手机上打开 app,windows 系统用 findstr 过滤,cmd 输入
adb shell dumpsys window | findstr mCurrentFocus
* daemon started successfully
mCurrentFocus=Window{1f8dd29 u0 tv.danmaku.bili/tv.danmaku.bili.ui.video.VideoDetailsActivity}
可以在手机上打开 app,windows 系统用 findstr 过滤,cmd 输入
adb shell dumpsys window | findstr mCurrentFocus
* daemon started successfully
mCurrentFocus=Window{1f8dd29 u0 tv.danmaku.bili/tv.danmaku.bili.ui.video.VideoDetailsActivity}