Flurry Error Reporting for Android

Is there anyone using Flurry to generate reports for uncaught exceptions that could post some sample code on how to do this?

I don't see any example via Flurry themselves, and though I've seen code samples of custom exception reporters, I haven't seen a simple example of how to implement the basic error reporting just using Flurry.


Asked by: Sam696 | Posted: 20-01-2022

Answer 1

This is all good feedback. We're looking into adding full stack traces for error reporting which we'll hopefully see in our next major SDK release. We'll also look at filtering by device model.

In the meantime we've added a new REST API for exporting your error reports if you want to do your own analysis. If you need help using it you can just contact our support or message me.

Sean / CTO / Flurry, Inc.

Answered by: Andrew925 | Posted: 21-02-2022

Answer 2

Flurry does it automatically (if you have it running). However, the error reporting is lame. They only catch the message w/o giving you the stack trace, so you may end up seeing (for example) that people are getting lots of NullPointerExceptions, but you won't have any idea where, or how, they're happening. If you try to do it yourself with the FlurryAgent.onEvent() method you'll quickly discover that they limit you to 255 characters.

If you need detailed error reporting it really is better to roll your own right now.

Answered by: Emily485 | Posted: 21-02-2022

Answer 3

I wasn't going to post this initially, but since it sounds like Flurry's error reporting sucks, you should check android-remote-stacktrace. It sends the stack trace to a url, which you can use to redirect it to an e-mail or just gather it on the server.

Answered by: Walter231 | Posted: 21-02-2022

Answer 4

I'm not using it for uncaught exceptions , but you can catch it and then send it to flurry.

Answered by: Blake608 | Posted: 21-02-2022

Answer 5

I am using bugsense for error reports. It catches full stack trace when an uncaught exception happens and also gives some useful information about the device - OS version, you app's version, is WiFi available on the device, etc. You can add custom messages and tags for specific events.

I've already fixed a couple crashes in my app thanks to it.

Answered by: Carina645 | Posted: 21-02-2022

Answer 6

Since people are posting alternatives for getting stack traces, I'll recommend ACRA. ACRA can send the stack trace to a spreadsheet on google drive/docs. Or you can also have it send to your server if you wish too. By default it also includes phone model, android version, memory of device, and other data too.

Answered by: John190 | Posted: 21-02-2022

Similar questions

bug reporting - How to instruct users to report a bug in Android

How do you instruct users to report a bug in Android? Any advice or tips? I'd like to get send detailed instructions to my users to get the most of their bug report. I know there are various apps that send bug reports from the device and I was wondering how other Android developers deal with this.

Android crash reporting library (pre Froyo)

This question already has answers here:

java - Reporting stack traces from ADT emulator

Does anyone know how to print stack traces for exceptions caught while running in the Android emulator in Eclipse? I catch the exception and call .printStackTrace() but I cannot find where it is being written. I have tried .printStackTrace(System.out) and .printStackTrace(System.err). I would be nice to be able to direct them to the Eclipse console.

Android crash reporting using ACRA

How can I set up my project for sending crash report using ACRA. I read some posts but am not able to do it. I got some details in http://code.google.com/p/acra/wiki/ACRAHowTo#Setting-up_your_project but it would not work for me 12-15 14:06:06.221: WARN/System.err(2972): java.net.UnknownHostException: H...

java - Is there a bug reporting library similar to the bug report system on Android Market?

Closed. This question does not meet Stack Overflow guid...

java - Eclipse reporting errors on arrays for Android

I'm trying to get a 3D array initialized for a game I'm working on, after multiple syntax changes I couldn't figure out how to get it to work! What I started with was: public class AnimationView extends SurfaceView implements SurfaceHolder.Callback {//Create bitmaps. Bitmap bitmapGoal = BitmapFactory.decodeResource(this.getResources(), R.drawable.goal); Bitmap bitmapOrig = BitmapFactory.decodeResource(this....

android - Using both ACRA error reporting and Google's Dev Console?

I'm curious if I start using ACRA error reporting will error reports still show up in the Developer Console? If not, is there a way to allow for both? I'd like to be able to log into my dev console and see any new reports then go check the ACRA spreadsheet for more information.

android - Reporting through PMD in Maven

I am running a Maven command in my project's directory as "mvn pmd:pmd", it will generates xml files of reports of errors in the code but I can't find the exact source of that particular error in the code from that Report because it have only declared errors but not give any line number or class name where that particular error was occured. That's why we unable to find exact wrong code in my project. Please help me out fro...

crash - Android ACRA not reporting crashes

I'm trying to import ACRA to my Android app but it's not reporting force closes. I followed the guide but still it doesn't report the crashes. Any suggestion why? xml: <CheckBoxPreference android:key="acra.enable" android:title="@string/pref_disable_acra" android:summaryOn="@string/pref_acra_enabled" ...

android - NDK build reporting file doesn't exist on an existing file

I'm trying to build mediastreamer2 for Android. I'm using cygwin on Windows 7. While running ndk-build I get the following errors: $ ../../android-ndk-r6b-windows/android-ndk-r6b/ndk-build Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile arm : mediastreamer...

Still can't find your answer? Check out these communities...

Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android