记录一下以防遗忘
命令
#连接设备
adb connect 192.168.2.10
#导出系统logcat日志
adb logcat -d -v threadtime>app.log
#导出meminfo日志
adb shell dumpsys meminfo > meminfo.txt
#导出内核日志
adb shell dmesg > dmesg.txt
#导出anr和cpuinfo
adb shell
cp /data/anr/traces.txt sdcard/anr.txt
cp /proc/cpuinfo sdcard/cpuinfo
exit
#导出日志到电脑
adb pull xxxx
#
分析
【1】该怎么查找关键字
【2】这一大堆都是什么
【3】还是没懂
【4】虽然一点没懂,也得做点什么