Android Proguard - dontobfuscate does not disable obfuscation

question about obfuscation android proguard. For some reason, when generating apk using ant, I want proguard to reduce the size (delete unused classes), but not obfuscate the name. In proguard.cfgI added:

-dontobfuscate

everyone else in proguard.cfgis either -dontwarn, or -keep class. But after decompiling the generated apk ( dex2jar), I found that many names are still confused. Why is this happening?

thank

+5
source share
1 answer

Since no one actually answered this, here is a link to a post that solves the problem: Using Proguard with Android without obfuscation

, -dontobfuscate:

-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable

: !code/allocation/variable

+6

All Articles