码迷,mamicode.com
首页 > 移动开发 > 详细

Android diagnose help

时间:2014-11-07 16:41:43      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:android   style   ar   os   sp   for   strong   div   on   

adb logcat -v threadtime > logcat.txt
adb shell cat /proc/kmsg > kernellogs.txt
.............
adb bugreport > bugreport.txt
................
Make sure you clear below things at the beginning
 /data/anr/*
/data/tombstone/*
 
Pull the traces and tombstone files from the /data/anr and /data/tombstone  
adb pull /data/anr/ .
adb pull /data/tombstone .
 
Note: You can save in any folder by logging it outside the adb shell prompt
 
Search for the time stamp where you encountered the Framework reboot.
Map it appropriately with the traces/tombstones to find the issue.
 
Note: There is one more method of capturing the logs in the sdcard. With the same set of commands by routing it to /sdcard and then pulling it after hitting that issue.

Android diagnose help

标签:android   style   ar   os   sp   for   strong   div   on   

原文地址:http://www.cnblogs.com/lake-of-embedded-system/p/4081330.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!