I am getting this error while gradle sync. This is react native project.
Try: Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
:prepareKotlinBuildScriptModel Gradle task is executed each time a Gradle task is invoked. Duplicates 1. Duplicates 1 issue (0 unresolved) KTIJ-15840 Kotlin task `prepareKotlinBuildScriptModel` has been added for all Gradle tasks invocations. 1 1.
Dynamic Dependencies slow down your build since they keep searching for the latest builds every time. To improve the performance we need to fix the version in place. Use only those dependencies that you need.
I was able to work around this issue by adding this line to my build.gradle file:
task prepareKotlinBuildScriptModel {
}
I had to disable Kotlin in the intellij
Open Preferences>Plugin>Disable Kotlin
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