FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':react-native-exit-app'.
com.android.builder.errors.EvalIssueException: defaultConfig contains custom BuildConfig fields, but the feature is disabled.
To enable the feature, add the following to your module-level build.gradle:
android.buildFeatures.buildConfig true
- React Native Version: 0.72.14
- Java: 17
- Gradle: gradle-8.2-all
- Kotlin: 1.9.20
FAILURE: Build failed with an exception.
A problem occurred configuring project ':react-native-exit-app'.