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
CodePudding user response:
I changed my kotlin version to kotlinVersion = "1.5.31" in android/build.gradle