Proguard usage in Android
Hi friends, have a great day. Now I'm going to explain the what is proguard and it's usage in android. Believe android is big sea, there is lot of things. What is Proguard? Proguard is a simple java tools to shrink apk, prevent re-engineering from hackers. It's a reduce the size of android apps and run faster. Proguard renames the classes, methods and objects to prevent the re-engineering the APK. Now hackers easily to hack your code and run for their uses. Proguard stops them and protect your code. In android project, proguard located in apps folder. proguard-rules.pro To enable the code shrinking, just add simple line in gradle. It's under buildTypes{ release{ minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } Please follow the below lines, that's very important to make it. -dontusemixedcaseclassnames #Specifies not to generate mixed-case c...
Comments