I use proguard for obfuscation. How can I keep only function names while obfuscation. class names must be obfuscated but function names.
if I use,
-keep class * {
void somefunction();
}
and it keeps function of somefunction, but it doesnt change classes names.
But, I want to change classes names but somefunction
You can use -keepclassmembers
or -keepclassmembernames
.
Cfr. ProGuard manual > Usage > Overview of Keep Options
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