先打开APK,后执行以下命令
adb shell dumpsys window | findstr mCurrentFocus
或
adb shell dumpsys window w | findstr \/ | findstr name=
或
adb shell dumpsys activity | findstr “mResume(需先打开手机应用)
Android 8.1之前应使用
adb shell dumpsys activity | findstr “mFocus
先打开APK,后执行以下命令
adb shell dumpsys window | findstr mCurrentFocus
或
adb shell dumpsys window w | findstr \/ | findstr name=
或
adb shell dumpsys activity | findstr “mResume(需先打开手机应用)
Android 8.1之前应使用
adb shell dumpsys activity | findstr “mFocus