e: /Users/abc/update/node_modules/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/TaskConfiguration.kt: (29, 33): This declaration is experimental and its usage must be marked with ‘@kotlin.ExperimentalStdlibApi’ or ‘@OptIn(kotlin.ExperimentalStdlibApi::class)’
i want to build the native project
2
Answers
Just upgraded to Gradle 7.5.1 and it works. Inside your android directory run:
@steformicola
answer didn’t work for me but changing the gradle version into
distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-all.zip
worked for me.
Look at this link for related issues.