react-native-exception-handler
react-native-exception-handler copied to clipboard
Incompatible with Gradle 8 and above while generating release builds and app bundles
- 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:
- Declare task ':react-native-exception-handler:compileReleaseJavaWithJavac' as an input of ':app:bundleReleaseJsAndAssets'.
- Declare an explicit dependency on ':react-native-exception-handler:compileReleaseJavaWithJavac' from ':app:bundleReleaseJsAndAssets' using Task#dependsOn.
- 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'.
-
Hi. Any updates on this?