AndroidStudio Gradle download

 

AndroidStudio Gradle download

解决,换国内源,版本换为3.1.2

 

buildscript {
    
    repositories {
        maven {
            url 'http://maven.aliyun.com/nexus/content/groups/public/'
        }
        maven { url "https://jitpack.io" }
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
        

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

 

Could not get resource guava-23.0.jar

解决发放如下

jcenter{ url 'https://maven.aliyun.com/repository/jcenter'}

AndroidStudio Gradle download_第1张图片

你可能感兴趣的:(android开发)