Skip to content

com.android.builder.errors.EvalIssueException: defaultConfig contains custom BuildConfig fields, but the feature is disabled. #75

Description

@Himatheja

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions