react-native-exception-handler icon indicating copy to clipboard operation
react-native-exception-handler copied to clipboard

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

Open vtn-dev-manish opened this issue 1 year ago • 1 comments
trafficstars

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

vtn-dev-manish avatar Jan 06 '24 19:01 vtn-dev-manish

Hi. Any updates on this?

kukuandroid avatar Apr 17 '24 06:04 kukuandroid