截屏:
adb shell screencap /sdcard/test.png
查看手机中所有apk 包名:
adb shell pm list packages
根据包名,查看apk 安装路径
adb shell pm path 包名
使用 -s 过滤log标签
adb logcat -s 关注log标签
使用 -c 清除缓存log:
adb logcat -c
查看当前的Activity 的界面:
adb shell “dumpsys window | grep mCurrentFocus”
查看编译时间以及版本:
adb shell getprop | grep build.date