android - How to make Proguard keep the class method names and attribute names as it is? -


as above.

my proguard config is

-keepclassmembers public class myapp.interfaces.** -keepclasseswithmembernames public class myapp.interfaces.** -keepattributes signature -keepparameternames 

really new , no real idea i'm doing.

what i'm trying achieve make proguard not change method , variable names of classes inside myapp.interfaces.*. if want rearrange algo stuff optimise or whatever, it's fine. long names not changed.

this must done because of serializable issue between server , client.

simply use: -keep class myapp.interfaces.** { *; }

it not touch class or members. if errors / warnings, rebuild project.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -