开发者

How to understand why Service crashes?

开发者 https://www.devze.com 2023-02-28 15:30 出处:网络
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 ge

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

精彩评论

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

关注公众号