react-native-navigation
react-native-navigation copied to clipboard
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
What happened?
I recently updated the RN version to 0.72.7. When I try to build the Android app I get the error as mentioned below.
What was the expected behaviour?
No response
Was it tested on latest react-native-navigation?
- [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
Here is the error message from the terminal
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-navigation:compileReactNative62DebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m
In what environment did this happen?
React Native Navigation version: 7.37.2 React Native version: 0.72.7 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: 18.11.0 Java version: 11 Kotlin version: 1.8.22 Gradle version: 8.0.1 Device model: Android version:
+1
Got the same issue((( any updates on this?
Try changing the Kotlin version. It could work. Not sure though.
+1
No one has the solution yet?
I could not find a solution. Updating the RN version was a dead end for me. So then I had to create a new RN project
Did that work?
yes
+1
+1
+1
Anyone got the solution?
I'm facing the same issue. I'd love some help
same issue. any fixes?
By adding these two lines in build.gradle fixed the problem for me
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
+1
Hi, i am getting same kind of error in native Android , how to solve it /
I am getting the same error. Does anyone know how to resolve?
+1
+1
I am getting same error after upgrade expo sdk 50
Facing the same issue in expo 47
+1
+1
+1
+1
+1
+1
+1
+1