Proguard keep class names?

Use the -keepnames option in your proguard.cfg

Refer to the manual
https://www.guardsquare.com/manual/configuration/usage#keepoptions

-keepnames class_specification

Short for -keep,allowshrinking class_specification

Specifies classes and class members whose names are to be preserved, if they aren’t removed in the shrinking phase. For example, you may want to keep all class names of classes that implement the Serializable interface, so that the processed code remains compatible with any originally serialized classes. Classes that aren’t used at all can still be removed. Only applicable when obfuscating.

Leave a Comment

deneme bonusu veren sitelerbahis casino