Top "Shrinkresources" questions

Removing unused resources requires unused code shrinking to be turned on

I am preparing to release an App to production. So, I generated signed apk. After generating signed apk, I was …

android android-resources shrinkresources
shrinkResources set to true, but all unused resources (specifically drawables) not getting removed

I'm setting shrinkResources to true as follows: releasepro { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' applicationIdSuffix ".pro" } …

android gradle apk shrinkresources