I am trying to integrate proguard in my android project.
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
useProguard true
//shrinkResources true
minifyEnabled true
}
After adding this bloc of code, i keep getting this error when i try to synchronise my gradle
ERROR: Unable to find method 'proguard.KeepClassSpecification.<init>(ZZZZZZZLproguard/ClassSpecification;Lproguard/ClassSpecification;)V'.
Does anyone knows how to fix it ?