i ran proguard on my project but it doesnt obfuscate my activity name. i have tried several rules and it is not working. i dont know what exactly it means for example the rule below:
-keep public class models.* {
*;
}
and whats the difference between
-keepclassmembers class * {
}
and
-keepclasseswithmembers class * {
}
i am having difficulty on how these rules work. please help.
During the build process, proguard checks the AndroidManifest and keeps all activity classes. This is needed for your app to run. You should not obfuscate classes which extend android.app.Activity.
See:
Why Proguard keeps Activity class in Android?
Why proguard processes AndroidManifest.xml
According to the documentation:
-keepclassmembers
-keepclasseswithmembers
See: http://proguard.sourceforge.net/manual/usage.html