android通过ADB抓取log
在线log的抓取
抓取离线log
#adb shell
#logcat -v threadtime > /mnt/sdcard/logcat&
抓取kernel的缓存log
adb shell cat /proc/kmesg > dmesg.txt 收集kernel og
kernel缓存log
adb shell dmesg > 加txt文件目录
抓取mainlog
adb logcat -v threadtime > logcat.txt 收集用户空间的log
抓取bugreport
adb bugreport > bugreport.txt