-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Kotlin Gradle Plugin Version Conflicting In React Native 0.69 #1449
Comments
Hey! 👋 It looks like you've omitted a few important sections from the issue template. Please complete Description, Steps To Reproduce, Reproduction and Platform sections. |
Hey! 👋 The issue doesn't seem to contain a minimal reproduction. Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem? |
I'm facing this issue too after upgrading RN version to 0.69 |
You can specify Kotlin version to use in
For more details, see README.md, under |
Not trying to do a simple +1, but since OP didn't fill out the issue template and also specified using fabcric, I wanted to add a few things: This happens in a clean npx react-native init RN069RC6 --version 0.69.0-rc.6
yarn add react-native-screens
yarn start
yarn android
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-screens:compileDebugKotlin'.
> Compilation error. See log for more details with the log containing a bunch of Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. and Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0. Manually specifying |
+1 With RN 0.69.0 officially released and this being a dependency for @react-navigation/native, this should hopefully bump it up on the priority list. |
Hi @ErHarinderSingh! |
@kkafar we have |
|
Feel free to reopen in case the problem still occurs. |
It is working fine now @kkafar. Thanks ❤️ |
This work for me Update android/build.gradle as follows:
|
Suddenly I started getting this issue for "react-native": "0.68.2" & "react-native-screens": "^3.13.1" updating react-native-screens to 3.14.1 resolved my issue. |
Hey guys, did anyone have an instance when specifing everything for a particular kotlin version to be set and did nothing??? |
Please check it. It's 1.4.10 and failing build. When I manually update it to 1.6.10 it works well. I am using New Arch Fabric from React Native.
This is the error. Please take a look.
This is the manual fix I have set on my local side and it works well
The text was updated successfully, but these errors were encountered: