Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vtn-dev-manish opened this issue Jan 6, 2024 · 1 comment

Comments

@vtn-dev-manish
Copy link

  • 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'.

@kukuandroid
Copy link

Hi. Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants