Could not find com.android.tools.build:gradle:3.0.1
在
buildscript {
repositories {
jcenter()
}
dependencies {
classpath
'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the inpidual module build.gradle files
}
}
添加
buildscript {
repositories {
jcenter()
maven {
}
}
dependencies {
classpath
'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the inpidual module build.gradle files
}
}