Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding Crashes & ANRs with Proguard Enabled

I was taking a look at a crash report on the Developer Console and noticed that, since I have Proguard enabled, all the method names are simply letters. Naturally, this makes debugging the crash rather difficult. I somehow doubt it, but is there anyway to receive crash reports that show the actual method names, while still having Proguard enabled on my app?

like image 889
John Roberts Avatar asked Feb 12 '14 14:02

John Roberts


People also ask

What are the three types of crashes?

The three collisions that happen in a car accident are vehicle collision, human collision, and internal collision. Knowing these three types of collisions and their related dangers helps to understand where and how injury occurs. Collisions follow a sequence, and each can lead to different and substantial injuries.

What are the 3 most common types of crashes?

Significantly, the top three types of car accidents – rear end, angle, and sideswipe crashes – are most likely to lead to injuries.


1 Answers

Please, read documentation.

mapping.txt Lists the mapping between the original and obfuscated class, method, and field names. This file is important when you receive a bug report from a release build, because it translates the obfuscated stack trace back to the original class, method, and member names. See Decoding Obfuscated Stack Traces for more information.


And directly this.

like image 60
x90 Avatar answered Sep 29 '22 05:09

x90