请问Android手机有任何错误日志文件来调试原因自动关机? [英] Does android mobile has any error log file to debug cause for auto switch off?

查看:1957
本文介绍了请问Android手机有任何错误日志文件来调试原因自动关机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候,我们看到虽然很少其他时候我已经找到了很长一段时间后关闭,即使电池是不低的设备会自动重新启动。
所以,如果我们要追溯到究竟是什么造成了这一点,确实我们在设备内存有停机的原因,或重新启动任何日志文件?

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 ?

就像我们得到了其他O.S.转储任何错误发生,使它重新开始/特定错误日志文件关机。同样没有Android已经这样?

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 ?

这可能是任何地方,甚至在内部存储器中,因此具有root权限的我可以进入寻找它。
有什么想法吗 ?谢谢你。

It may be anywhere , even in internal memory, so with root privileges I can go into looking for it. Any thoughts ? Thanks.

推荐答案

如果您的手机上安装了终端只是在TUPE结果
苏结果
 logcat的

If you have installed Terminal on your phone just tupe in
su
logcat

如果您的手机上没有启用DebbugingMode,它与你的PC / Mac,打开Eclipse连接并进入调试。
那里它会显示在电话的日志。

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.

我希望这有助于。

这篇关于请问Android手机有任何错误日志文件来调试原因自动关机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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