busylee
busylee

Reputation: 2560

Fabric proguard rules

I have found on fabric page following note

For Fabric to properly de-obfuscate your crash reports, you need to remove this line from your ProGuard config:

-printmapping mapping.txt

Can anyone clear for me this thing. How I will reobfuscate crash logs by myself if I remove this line?

Upvotes: 2

Views: 1380

Answers (1)

R. Zagórski
R. Zagórski

Reputation: 20268

As the documentation for shrinking Android code states, the file:

mapping.txt

Provides a translation between the original and obfuscated class, method, and field names.

Fabric resolves the real names of classe and methods the were passed through Proguard. To do this, it needs the mapping, which is written by Proguard in this file.

Upvotes: 1

Related Questions