react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

Open Harisene opened this issue 2 years ago • 73 comments

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:

Harisene avatar Dec 06 '23 06:12 Harisene

+1

HaNguyenRN avatar Dec 21 '23 03:12 HaNguyenRN

Got the same issue((( any updates on this?

StragelX avatar Dec 21 '23 14:12 StragelX

Try changing the Kotlin version. It could work. Not sure though.

Harisene avatar Dec 22 '23 01:12 Harisene

+1

shafikgomez avatar Dec 22 '23 02:12 shafikgomez

No one has the solution yet?

lwazi4787 avatar Dec 28 '23 13:12 lwazi4787

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

Harisene avatar Dec 28 '23 14:12 Harisene

Did that work?

lwazi4787 avatar Dec 28 '23 15:12 lwazi4787

yes

Harisene avatar Dec 28 '23 15:12 Harisene

+1

Ahmad0811 avatar Jan 05 '24 01:01 Ahmad0811

+1

mohanft avatar Jan 05 '24 12:01 mohanft

+1

marcelo-conilho avatar Jan 08 '24 15:01 marcelo-conilho

Anyone got the solution?

Aryaman3007 avatar Jan 17 '24 11:01 Aryaman3007

I'm facing the same issue. I'd love some help

jeanmrtns avatar Jan 27 '24 01:01 jeanmrtns

same issue. any fixes?

davidwinograd1 avatar Jan 29 '24 23:01 davidwinograd1

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"

ravis-farooq avatar Feb 02 '24 06:02 ravis-farooq

+1

amanRathod avatar Feb 03 '24 07:02 amanRathod

Hi, i am getting same kind of error in native Android , how to solve it /

Varapraveen avatar Feb 10 '24 11:02 Varapraveen

I am getting the same error. Does anyone know how to resolve?

aahilalwani25 avatar Feb 14 '24 06:02 aahilalwani25

+1

aswin-clear avatar Feb 19 '24 12:02 aswin-clear

+1

binhtruong9418 avatar Feb 20 '24 09:02 binhtruong9418

I am getting same error after upgrade expo sdk 50

lucianolopezz avatar Feb 20 '24 14:02 lucianolopezz

Facing the same issue in expo 47

Ammar-Abid92 avatar Feb 23 '24 13:02 Ammar-Abid92

+1

safaaroua avatar Feb 23 '24 15:02 safaaroua

+1

Shudhanshu-Appnox avatar Feb 27 '24 10:02 Shudhanshu-Appnox

+1

ehcorrea avatar Mar 01 '24 00:03 ehcorrea

+1

gustavos00 avatar Mar 05 '24 11:03 gustavos00

+1

ayoubechc avatar Mar 05 '24 11:03 ayoubechc

+1

AlexVz95 avatar Mar 06 '24 20:03 AlexVz95

+1

SheikhSajad avatar Mar 09 '24 11:03 SheikhSajad

+1

Darmolar avatar Mar 10 '24 06:03 Darmolar