* What went wrong:
A problem occurred configuring root project 'GSTSandbox'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:3.0.1.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.jar
プロジェクトのbuild.gradle
に以下の様に追加する
buildscript {
repositories {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
react-native run-android Could not find com.android.tools.build:gradle:3.0.1 - Stack Overflow
プロジェクトのbuild.gradle
に以下の様に追加する
allprojects {
repositories {
maven {
url 'https://maven.google.com/'
}
}
}