Skip to content

Incompatible with Gradle 8 and above while generating release builds and app bundles #178

Description

@vtn-dev-manish
  • What went wrong:
    Some problems were found with the configuration of task ':app:bundleReleaseJsAndAssets' (type 'Exec').
    • Gradle detected a problem with the following location: '/Users/netzwelt/StudioProjects/MyScan_release'.

      Reason: Task ':app:bundleReleaseJsAndAssets' uses this output of task ':react-native-exception-handler:compileReleaseJavaWithJavac' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

      Possible solutions:

      1. Declare task ':react-native-exception-handler:compileReleaseJavaWithJavac' as an input of ':app:bundleReleaseJsAndAssets'.
      2. Declare an explicit dependency on ':react-native-exception-handler:compileReleaseJavaWithJavac' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
      3. Declare an explicit dependency on ':react-native-exception-handler:compileReleaseJavaWithJavac' from ':app:bundleReleaseJsAndAssets' using Task#mustRunAfter.

      For more information, please refer to https://docs.gradle.org/8.2/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

    • Gradle detected a problem with the following location: '/Users/netzwelt/StudioProjects/MyScan_release'.

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