Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: What is Proguard and ProGuard mapping

When i checked the crash of my application ,noticed this report

Upload your ProGuard deobfuscation file in order to deobfuscate future stack traces for this APK version. checked this link but didnot understand https://support.google.com/googleplay/android-developer/answer/6295281?hl=en

like image 442
Ovi Avatar asked Aug 23 '16 07:08

Ovi


1 Answers

As my answer from here, Proguard is one of the main process when you tried to compile an apk (especially when you release the apk to google play store)

  1. Obfuscation

  2. Optimization

  3. Shrinking

Android studio import problems. (Apktool)

To say it in simple way, you can see it how a apk without proguard would be seen by using some reverse engineering technologies

https://ahbsa.wordpress.com/2015/04/30/decompiling-apk-reverse-engineering-android-application/

The classes inside apk with proguard would be something like that by using some reverse engineering technologies

enter image description here

You might have the mind now. Even though you used Proguard , the .dex classes could still be decomplied. But the code is almost unreadable if you used Proguard. And if you used some more advanced technologies ( such as Dexguard), they can provide better performance and the code will be more complicated after decompiled the .dex classes.

like image 72
Long Ranger Avatar answered Oct 22 '22 01:10

Long Ranger