Proguard Android Studio

If make signed apk, open file build.gradle in the module folder.
Set minifyEnabled to true

 buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), ''

Check if the file exists in the module folder

Android Studio Menu > View > Tool Window > Build Variant

Select the myModule and set debug to release

Android Studio Menu > Build > Generate Signed APK

This entry was posted in Android Studio and tagged . Bookmark the permalink.

Comments are closed.