安卓:崩溃(重新启动)在真实设备上之前获取的logcat [英] Android: Retrieve logcat before crash (reboot) on a real device

查看:680
本文介绍了安卓:崩溃(重新启动)在真实设备上之前获取的logcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个应用程序,我在真实设备上测试的过程中我发现,它会崩溃,并导致手机重启(担心,我知道...)

I am developing an application and during my testing on a real device I have found that it will crash and cause the phone to reboot (worrying I know...)

有什么办法我取回的logcat从之前重新启动作为logcat的手机似乎复位的时候,手机启动后。

Is there any way I retrieve the logcat from before the phone rebooted as the logcat seems to reset when the phone boots up.

在此先感谢。

推荐答案

使用 HTTP:/ /$c$c.google.com/p/acra/ ,这是一个伟大的LIB发送故障报告到谷歌的形式包括。堆栈跟踪。我在我的应用程序使用它,并很好地工作。让我知道你是否有实现它的困难。 阅读 HTTP://$c$c.google.com/p/acra /维基/ ACRAHowTo ,可以很容易地安装。

Use http://code.google.com/p/acra/, which is a great lib to send crash reports to a google form incl. stack trace. I use it in my app and works nicely. Let me know if you have any difficulties implementing it. Read the http://code.google.com/p/acra/wiki/ACRAHowTo, it's easy to setup.

这篇关于安卓:崩溃(重新启动)在真实设备上之前获取的logcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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