android-best-practices
android-best-practices copied to clipboard
(Always) Using Proguard
I would not say using Proguard for your Android application is always a good thing. Main reason why people use Proguard is to strip unused code from your .class files. Why would you do this. Mainly because either 1) You have a bloated library or 2) you have unused code in your own application. Both are scenarios that should be avoided in general, which does not yield into a good reason to use Proguard.
Another reason to use Proguard is obfuscation. But why would use that? For good security you should rely on encryption anyway.
So what's the reasoning for avoiding Proguard? Well, you can spend excess amounts of time tweaking its configuration file when maybe you wouldn't actually need to.
Helps a lot.
@kypeli You make some good counterpoints. Do you want to write a PR for this?