Android Crash Reports are Awesome

In my last post, I said I like WP7 platform best for development, but one thing that blew me away about Android development is when Google came out with crash reports. Developers can see stack traces for all the crashes that users report that may direct you to exactly what the problem is.

I released a new version of Bubbles (and Bubbles Deluxe) yesterday. This morning I checked in the market console to see if there were any crashes and saw that there was a new error users were seeing:

I clicked through to see the stack reports (14 of them, all the same):

Wow, it pointed me to exactly where the problem was. Oops, I had forgotten to put a synchronize block around the code for popping all the bubbles when the user shakes the device so if a bubble popped of natural causes right during the time it was looping through popping all the bubbles due to shaking it would try to pop a bubble that no longer existed.

The crash reports can also include a user message. One kind user confirmed what I already knew:

This is a great feature which should improve app quality. I’m not happy that the bug existed but without the reports I wouldn’t have known about it — at least not for a long time. But don’t expect to see it anytime soon on Apple which uses native code where getting stack traces is very awkward. I wonder if Google uses this for ranking in the Market. It certainly would be interesting to see crash stats for other apps.

This entry was posted in Android, Mobile, Uncategorized. Bookmark the permalink.

5 Responses to Android Crash Reports are Awesome

  1. smokes says:

    yeah.. pretty neat feature…

  2. Joey says:

    Does it log ALL crashes? Or does it just log the crashes that users chose to ‘report’ ?

  3. Edwin Evans says:

    I think it’s just the ones that users report. Users can also optionally add a comment which shows up on a separate tab in the publisher console.

  4. PanosJee says:

    You could use BugSense to collect all error reports in real-time. It’s pretty easy to use and the reports look awesome

    [Edwin: Panos is associated with this product.]

  5. Yes, but I’m still can not get some crash report. Don’t know why.
    So, I use ACRA to report crash. It’s quite reliable.

    [Edwin: Please mention that you are associated with this product. Thanks for not attempting to hide your association but I prefer you mention that you are associated in the comment.]

Leave a Reply to Joey Cancel reply

Your email address will not be published.


+ six = 10