Android系统之Android抓取各种log的方法
2018年11月25日
| 萬仟网移动技术
| 我要评论
android之android抓取各种log的方法
1、logcat
(四类log buffer是main,radio,system,events)
adb wait-for-device logc
android之android抓取各种log的方法
1、logcat
(四类log buffer是main,radio,system,events)
adb wait-for-device logcatadb logcat -v time > logcat.txt //默认是-b main -b systemadb logcat -v time -b main //main log
adb logcat -v time -b radio //radio logadb logcat -v time -b system //system log
adb shell dmesg //kernel log
adb logcat -v time -b events
2、anr logadb pull /data/anr
3、tombstone logadb pull /data/tombstones
4、core logadb pull /data/log/core
5、开机logadb shell