首页 > 代码库 > Android diagnose help
Android diagnose help
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。