Enabling ProGuard obfuscation in Android Studio

Enable ProGuard  In Android Studio, open up an Android project. Change to Project View. Edit the app’s build.gradle file. Note: make sure the correct build.gradle file is edited. Typically, it is [Android project]/app/build.gradle. Change the following line: minifyEnable false to minifyEnable true