ProGuard, how not to change a certain variable

0

I have a variable in my Java code, and I want to obfuscate the code using ProGuard, but there is a variable I want to keep the name, after obfuscation, because I will use this application in other projects.

public static main SwBotIA;

This is the variable I want to keep

    
asked by anonymous 03.05.2018 / 04:43

1 answer

0

According to the documentation there are several methods for preserving class names and their members.

-keepnames nome_da_classe

-keepclassmembernames nome_da_classe

See proguard documentation .

    
03.05.2018 / 11:06