Could not find org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.

出现问题

Could not find org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2.
Searched in the following locations:
    https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.pom
    https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.1.3-2/kotlin-stdlib-1.1.3-2.jar
Required by:
    project : > com.android.tools.build:gradle:3.0.1 > 

解决:在两个repositories中加上相应代码。

buildscript {
    allprojects {
        repositories {
            google()
            jcenter()
            mavenCentral()
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
    }
    repositories {
        jcenter()
        mavenCentral()
        google()
    }
}

你可能感兴趣的:(Android基础)