adb logcat | findstr Displayed 但是没有输出。 但是运行: adb shell dumpsys window | findstr mCurrentFocus 就有了当前包和activity