Proguard keep class names?
This keeps classnames intact:
-keepnames class com.somepackage.*
Use the -keepnames
option in your proguard.cfg
Refer to the manual https://www.guardsquare.com/manual/configuration/usage#keepoptions
-keepnames
class_specificationShort for
-keep,allowshrinking
class_specificationSpecifies 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.