Hello I am writing an Android app and I have set up Proguard to obfuscate my application. I however use a classloader to dynamically load different extensions to my application. The problem is that these don’t load correctly if their names are changed. How do I keep Proguard from obfuscating specific class names?
Share
Use the
-keepnamesoption in your proguard.cfgRefer to the manual
https://www.guardsquare.com/manual/configuration/usage#keepoptions