开发者

How to understand why Service crashes?

It crashes on the actual device after undefined period of time (can be in a few days). The error message shows that it will be stopped and just one OK button. Is there any way to开发者_如何学Python get a log to see what happened? (each time I keep device connected to the PC, I am not able to catch the error)


Take a look at ACRA. They've got a very good Wiki post on how to implement it.

It will post an entry to a Google Spreadsheet form with a stacktrace and some other useful information if a crash occurs. Very useful.

Implement it and then just keep an eye on your Google Spreadsheet for crash reports.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜