adb logcat -d time > 1.log
adb logcat | grep wdf
查看当前Activity :adb shell dumpsys window w | grep name=“”
查看当前栈顶的Activity :adb shell dumpsys activity | grep “mFocusedActivity”
查看当前栈顶的Activity的Fragment :adb shell dumpsys activity your.package.name
或者:adb shell dumpsys activity top
打印页面ui:adb shell uiautomator dump
打印操作路径:adb shell dumpsys activity activities | sed -En -e ‘/Running activities/,/Run #0/p’
查看依赖关系: ./gradlew app:dependencies >1.log
查看单独依赖(httpdns是被依赖的模块): ./gradlew -q app:dependencyInsight --dependency httpdns --configuration releaseRuntimeClasspath