Android开发必会的ADB调试命令!

133 阅读1分钟

会显示出包名和 Activity 类名

fragment则会显示其所属Activity类名,不熟悉的项目解决bug定位代码极其方便

adb shell "dumpsys window | grep mCurrentFocus"