I am unable to generate Signed APK using minifyEnabled true
and shrinkResources true
App Level : build.gradle
buildscript {
First check whether you really need to use shrinkResources
If so, do as suggested in developers link https://developer.android.com/studio/build/shrink-code.html#shrink-resources mentioned above by IntelliJ Amiya, you have to use like below
android { buildTypes { release { shrinkResources true // -- always add this above minifyEnabled -- minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }