美文网首页
android studio 配置阿里云镜像

android studio 配置阿里云镜像

作者: XII01 | 来源:发表于2019-12-28 15:53 被阅读0次

    给项目加个翅膀

    buildscript {
        repositories {
            //阿里云的镜像库
            maven {
                url "http://maven.aliyun.com/nexus/content/groups/public/"
            }
    
            google()
            jcenter()
            
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.3.2'
            
            // 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()
            
        }
    }
    

    相关文章

      网友评论

          本文标题:android studio 配置阿里云镜像

          本文链接:https://www.haomeiwen.com/subject/hvusoctx.html