I am getting this error in Android studio when i enable jackOptions in build.gradle
Error:Minifying the variant used for tests is not supported when using Jack
android {
...
defaultConfig {
...
jackOptions {
enabled true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
The Jack toolchain is deprecated. Use the new gradle plugin, and you'll also get rid of this error. Follow this tutorial to migrate your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With