I am installing app through studio I guess that's instant run
I guess my code is not shrinking since my apk is still 16.1 MB large and nothing in it except sinch library..
buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
Don't know if I have to add this in instant run or not.....
debug {
minifyEnabled true
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
but when use debug it shows this :
Gradle build process failed with "Error:Execution failed for task ':app:transformClassesWithNewClassShrinkerForDebug'. > Warnings found during shrinking, please use -dontwarn or -ignorewarnings to suppress them." - Proguard #206
Don't know if my app is in release mode if it is not in release mode then I guess I will receive same error when I am in release mode but if this is a problem of debugger and I am already in release mode then why my app isn't shrinking?
Please help!