最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

解決android studio 3.0 加載項(xiàng)目過(guò)慢問(wèn)題--maven倉(cāng)庫(kù)選擇

 更新時(shí)間:2017年11月11日 11:13:03   投稿:mrr  
這篇文章主要介紹了android studio 3.0 加載項(xiàng)目過(guò)慢問(wèn)題解決方案---maven倉(cāng)庫(kù)選擇,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友可以參考下

今天用android studio 3.0打開(kāi)項(xiàng)目時(shí)發(fā)現(xiàn)一直在谷歌的maven倉(cāng)庫(kù)加載

卡到這不動(dòng)了,看了下maven倉(cāng)庫(kù)的配置發(fā)現(xiàn):

buildscript {
  repositories {
    jcenter()
    maven {
      url 'https://maven.google.com'
      name 'Google'
    }
    google()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
  }
}
allprojects {
  repositories {
    jcenter()
    maven {
      url 'https://maven.google.com'
      name 'Google'
    }
    google()
  }
}
task clean(type: Delete) {
  delete rootProject.buildDir
}

maven倉(cāng)庫(kù)的路徑居然是:https://maven.google.com

后來(lái)在網(wǎng)上找了個(gè)阿里云上面的maven地址,配置如下:

buildscript {
  repositories {
    jcenter()
    maven {
      url 'http://maven.aliyun.com/nexus/content/groups/public'
//      name 'Google'
    }
    google()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
  }
}
allprojects {
  repositories {
    jcenter()
    maven {
      url 'http://maven.aliyun.com/nexus/content/groups/public'
//      name 'Google'
    }
    google()
  }
}
task clean(type: Delete) {
  delete rootProject.buildDir
}

這之后就發(fā)現(xiàn)加載快多了。

總結(jié)

以上所述是小編給大家介紹的解決android studio 3.0 加載項(xiàng)目過(guò)慢問(wèn)題--maven倉(cāng)庫(kù)選擇,希望對(duì)大家有所幫助,如果大家有任何疑問(wèn)歡迎給我留言,小編會(huì)及時(shí)回復(fù)大家的!

相關(guān)文章

最新評(píng)論

图片| 莱西市| 榕江县| 抚宁县| 娱乐| 延吉市| 永济市| 峨眉山市| 西乡县| 绥棱县| 来凤县| 阿尔山市| 南溪县| 余姚市| 运城市| 罗源县| 乐山市| 博野县| 灵宝市| 玉林市| 大港区| 石家庄市| 海口市| 原平市| 巴中市| 上犹县| 屯留县| 渝中区| 全州县| 恩平市| 淮滨县| 象山县| 元朗区| 梁河县| 巴中市| 乌拉特中旗| 东阿县| 应城市| 吴江市| 衡阳县| 万盛区|