a question on android proguard obfuscation.
For some reason, when generating apk using ant, I want proguard to shrink size (remove unused classes) but no name obfuscation. In proguard.cfg
, I added:
-dontobfuscate
all others in proguard.cfg
are either -dontwarn
or -keep class
. But after decompile the generated apk (dex2jar
), I found many names are still obfuscated. Why this happens?
Thanks