Reputation: 2262
I initialized a react-native app with react-native init xxx and installed the latest(v4.1.0). Android Studio could not complete sync. it says:
When I run react-antive run-android from console, it says something similar.
I tried to wget the kotlin gradle plugin, it was not there. :'(
yarn install react-native-webview
. // version 4.1.0react-native run-android
So this is a deadlink: https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.11/kotlin-gradle-plugin-1.3.11.pom
I find it's here. https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.11/kotlin-gradle-plugin-1.3.11.pom
Please Note version 1.3.20 is also available. https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.20/kotlin-gradle-plugin-1.3.20.pom
Please help :'( Thanks in advance.
Upvotes: 3
Views: 2325
Reputation: 7770
Steps:
.idea
folder and .iml
in android directoryClean
Invalidate Caches / Restart
Upvotes: 1