Generate Signed APK: Errors while building APK Android Studio (Signed APK using minifyEnabled true
and shrinkResources true
)
I am unable to generate Signed APK using minifyEnabled true
and shrinkResources true
minifyEnabled is an Android tool that will decrease the size of your application when you go to build it .
android {
buildTypes {
release {
shrinkResources true // This must be first
minifyEnabled true // This must be after shrinkResources
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
}
Post a Comment
0Comments