Home > android > Android Application Error Reports

Android Application Error Reports

Android 2.2 was released to developers yesterday. It brings an exciting new feature in the developer console: Application Error Reports.

Quoting from Android 2.2 Platform Highlights:

New bug reporting feature for Android Market apps enables developers to receive crash and freeze reports from their users. The reports will be available when they log into their publisher account.

This feature works with all versions of Android, and reports crashes and freezes (Application Not Responding or ANR). However, getting a stack trace for ANRs requires that the user runs Android 2.2. However, both types of reports are extremely useful.

After logging into my developer console page (which I do often to check on download statistics), there is information on crashes and freezes for each published application. Repeated occurrences of problems of same problem grouped together and totaled, but are broken down by application version number. There is information about devices on which the problem occurs.

All in all, one word: “excellent”.

I already learned of two bugs in WiFi Manager 1.3.1 (and earlier), will release 1.3.2 with fixes shortly.

Advertisements
Categories: android
  1. Nikolay Elenkov
    May 24, 2010 at 7:57 pm

    This was published today, but it doesn’t really provide much info, just a couple of screenshots:

    http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html

  2. May 24, 2010 at 7:11 pm

    Apparently, the client-side code was committed to Android source over a year ago, but was not active until now. How exactly it gets activated is not clear, some users report it just “appeared magically”.

    This discussion might be useful:

    http://groups.google.com/group/android-developers/browse_thread/thread/8e3808788d33b54b

  3. Nikolay Elenkov
    May 24, 2010 at 6:16 am

    How does this exactly work? I am running froyo on Nexus One, but I don’t get a dialog or anything if my app force closes. Or does it only work for ANR? Do I need to do something to enable it? I haven’t been able to find any detailed info about this on the web. Any pointers?

    Thanks.

    • May 24, 2010 at 11:45 am

      Nikolay,

      I’m not sure what it looks like for users. As a developer, you can see bug reports for your published application in the Developer Console:

      http://market.android.com/publish/Home

      Error reports are collected on pre-2.2 devices too.

      Froyo on the users’s phone enables one additional thing only: Java stack trace for ANRs. For ANRs on pre-2.2 devices, you just get a short description.

      • Nikolay Elenkov
        May 24, 2010 at 5:16 pm

        Thanks for replying. I get the ‘Bugs’ page in the developer console. I just don’t know how to trigger a bug report on the device. Even if my app force closes, I don’t get a report in the developer’s console.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s