I'm trying to prevent proguard from obfuscating interface method variable names. My proguard.pro has the following configurations but still the method variables appear as a, b etc.
-keep public class * { public *; }
-keepclassmembers class * { public *; }
-keepattributes Exceptions,InnerClasses,Signature -keepparameternames -keep public interface com.test.listener.MyListener { *; }
-keep interface com.yourpackage.**{*;}
is what you need. It will keep all your interface's name and methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With