查看当前显示的应用信息
1、显示界面全限定类名
adb shell dumpsys window | findstr mCurrentFocus
2、显示界面包括view树等详细信息
adb shell dumpsys activity top
3、显示界面Intent
// 搜索 intent.action
adb shell dumpsys activity activities
启动时间
adb shell am start -W com.demo.test/.ui.activity.MainActivity
导出电量txt
adb shell dumpsys batterystats > batterystats.txt
抓取log
adb logcat -v time > log.txt
导出ANR文件
1、adb shell ls data/anr
2、adb bugreport C:\User\admin\Desktop
adb连接
1、adb devices
2、adb -s 设备名 shell
3、adb disconnect
4、adb tcpip 5555
5、adb connect ip值
生成SSL
1、git升级最新版本,自带openSSL组件
2、ssh-keyge