question

PR-6476 avatar image
0 Votes"
PR-6476 asked RobCaplan edited

How do I get meaningful crash logs?

I recently converted to AndroidX and starting targeting Android 10, but I'm now getting crashes from a bunch of users, however the logs are pretty useless as they don't contain class or method names.

Is this a Xamarin thing? How do I fix it? I assume this is some r8 or linker error, but I don't know where to start as I don't have any info. I can't reproduce this locally either.

Any help would be great. Thanks,

Screenshot_20210331-223518.png


dotnet-xamarin
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Based on your screenshot, it is hard to focus which line caused this exception, when you generate exceptions, you can save your exception in the local storage, then send the exception to the server.

0 Votes 0 ·

I do have Firebase Crashlytics integrated but this is a crash on boot so Firebase isn't getting anything.

0 Votes 0 ·

1 Answer

PR-6476 avatar image
0 Votes"
PR-6476 answered LeonLu-MSFT commented

So I disabled r8 and pushed out a new build, which I think has fixed it, as I'm now getting the old crash reports coming through Firebase.

How can Firebase provide this info, but the Play Console can't?? This info is critical for fixing startup crashes, yet you get nothing through the official Play Console.


84241-firebasecrash.png



firebasecrash.png (41.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your sharing.

0 Votes 0 ·