In the new version of Android Studio (Flamingo | 2022.2.1 Canary 9) with the org.jetbrains.kotlin (1.8.0-Beta) plugin and 8.0.0-alpha09 gradle plugin, a new build suddenly gets this error:
Build Type 'release' contains custom BuildConfig fields, but the feature is disabled.
Is there a way to make this go away?
I'll just add this alternative "solution" here... For whomever it might help ?
From developer.android.com documentation :
So one might just want to explicitly declare that in his project level
gradle.properties
.