//查看Android设备
adb devices
//安装某app
adb install 包名(com.example.test)
//卸载某app
adb uninstall 包名(com.example.test)
//过滤日志信息 -i :忽略大小写 idcardbiz :过滤信息
adb shell
logcat | grep -i idcardbiz
//将日志信息保存到/data目录下的txt文件
adb shell
su
cd data
logcat > log.txt
//导出日志到d盘
adb shell logcat > d:\myLog.txt
停止 ctrl + c
//启动某app 其启动页为 .view.activity.MainActivity
adb shell am start -n com.example.test.view.activity.MainActivity
//关闭某app
adb shell am force-stop com.example.test
//删除文件
adb shell rm /sdcard/Download/test1.db test2.db
adb shell rm /sdcard/Download/test*
//导入文件
adb push C:\Users\Administrator\Desktop\test.db /storage/self/primary/Download/test.db
//导出文件
adb pull /storage/self/primary/Download/test.db C:\Users\Administrator\Desktop\test.db