ProGuard - Obfuscating and Shrinking your code
Rules for some of the widely used Libraries
Remove trace logging and other statements at build time
Protecting your code from hackers
Enable ProGuard for your build
Enabling ProGuard with a custom obfuscation configuration file