Android 手机是否有任何错误日志文件可调试自动关闭的原因?
有时我们会看到设备自动重新启动,而其他时候我发现它会在很长时间后关闭,即使电池电量并不低。 因此,如果我们想追溯到实际导致此问题的原因,设备内存中是否有任何导致关闭或重新启动的日志文件?
就像我们在特定错误日志文件中获取其他操作系统发生的任何错误导致其重新启动/关闭的转储一样。同样android也有这样的吗?
它可能在任何地方,甚至在内存中,所以有了root权限我就可以去寻找它。 有什么想法吗?谢谢。
Sometimes we see the device restarts automatically, while few other times I had found it switching off after long time, even battery was not low.
So if we want to trace back of what actually has caused this, does we have any log file in device memory which has the cause of shutdown or restart ?
Like we get the dump for the other O.S. for any errors occured causing it to restart/shutdown in specific error log file. Similarly does android has such ?
It may be anywhere , even in internal memory, so with root privileges I can go into looking for it.
Any thoughts ? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的手机上安装了终端,只需输入
苏
logcat
如果手机上没有启用调试模式,请将其与 PC/Mac 连接,打开 Eclipse 并转到“调试”。
那里会显示手机的日志。
我希望这有帮助。
If you have installed Terminal on your phone just tupe in
su
logcat
If not enable DebbugingMode on your phone, connect it with your PC/Mac, open Eclipse and go to Debug.
There it will show the log of the phone.
I hope this helps.