哪里Android商店关闭日志? [英] Where does Android store shutdown logs?

查看:152
本文介绍了哪里Android商店关闭日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,在引导日志可以拉出 kmsg 的dmesg 的内容通过<$得到C $ C>亚行。结果
但我不知道如何检索Android的关机日志,因为没有 / VAR 文件夹中的机器人(最多的地方桌面Linux发行版一般存放它们的关闭日志)。

I know that the boot up log can be obtained by pulling out contents of kmsg or dmesg through ADB.
But I'm not aware of how to retrieve the shutdown logs in Android as there's no /var folder in Android (place where most desktop linux distros generally store their shutdown logs).

那么,怎样才能获得我关机日志中的Andr​​oid?

So how can I obtain the shutdown logs in Android?

干杯,

推荐答案

一个工作,我发现身边的Andr​​oid中收集关机日志是运行 ADB拉的/ proc / kmsg C:\\ Logs.txt PC主机上,然后关闭设备。您将获得日志,直到主机和设备之间的卡扣USB通信!我知道这只是一个案例出来的众多关机的情况,但我还没有找到令人满意的答案对于其他情况!

One work around I found for collecting shutdown logs in Android is to run adb pull /proc/kmsg C:\Logs.txt on the host PC and then switch off the device. You will get the logs till the USB communication between the host and the device snaps! I know this is only one case out of the numerous shutdown scenarios but I haven't found satisfactory answers for other cases!

这篇关于哪里Android商店关闭日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆