I am trying to use React Navigation in my RN project, but when I install react-native-screens, which is a required package for it to work, I cannot build the project again.
The error I get is the following:
Task :react-native-screens:compileDebugKotlin FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
I have tried a few things I saw other people do, but nothing has worked so far.
Can you help me? Thanks
I changed my kotlin version to kotlinVersion = "1.5.31" in android/build.gradle
If you facing this after adding @react-navigation/[email protected] library to a project with react-native @0.69.0 just upgrade [email protected] this specific version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With