I\'ve just updated my Android Studio and now my project won\'t build anymore. I get following error:
Error:(16, 0) G
As @stkent said, runProguard
has been renamed to minifyEnabled
in version 0.14.0 (2014/10/31) of Gradle.
To fix this, you need to change runProguard
to minifyEnabled
in the build.gradle file of your project. For example,
buildTypes {
release {
runProguard false // Does not exist anymore...
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
would be replaced by
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
You can see other issues here but this worked for me.
runProguard
has been renamed minifyEnabled
. See the changelog here for confirmation - version 0.14.0 (2014/10/31) of the Android Gradle plugin made the swap.
runProguard has been renamed to minifyEnabled in version 0.14.0 (2014/10/31) of Gradle.
To fix this, you need to change runProguard to minifyEnabled in the build.gradle file of your project.