Androidスタジオのダウンロードサードパーティライブラリのダウンロードはダウンロードできませんアリミラーをお勧めします

build.gradleに次の
ミラーアドレスを追加します

maven { url“ http://maven.aliyun.com/nexus/content/groups/public/” }

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        // 超级实用:某某影响,很多被墙,强烈推荐阿里云镜像更新
        maven {
            url "http://maven.aliyun.com/nexus/content/groups/public/"
        }
        google()
        jcenter()
        
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.1'
        
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        // 超级实用:某某影响,很多被墙,强烈推荐阿里云镜像更新
        maven {
            url "http://maven.aliyun.com/nexus/content/groups/public/"
        }
        google()
        jcenter()
        
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

おすすめ

転載: blog.csdn.net/yanwenyuan0304/article/details/106021538