国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發(fā)設計 > 正文

JCenter下載太慢?教你修改Maven倉庫地址為國內鏡像

2019-11-09 17:36:11
字體:
來源:轉載
供稿:網友

解決方法一:

https:改成 http協議下載

下文介紹部分來源自:https://my.oschina.net/lifj/blog/754861

下面是build.gradle的內容:主要增加了jcenter(){url 'http://jcenter/bintray.com/'} 

// Top-level build file where you can add configuration options common to all sub-PRojects/modules.buildscript { repositories { jcenter(){ url 'http://jcenter.bintray.com/'} } dependencies { classpath 'com.android.tools.build:gradle:2.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories { jcenter(){url 'http://jcenter.bintray.com/'} }}task clean(type: Delete) { delete rootProject.buildDir}

希望能幫到大家。

解決方法二:

改成開源中國maven鏡像,這個方法沒試過,不知道好不好用,需要的同學,可以自行測試

點擊打開鏈接


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 南涧| 葵青区| 万州区| 肃南| 洪江市| 防城港市| 岫岩| 阳西县| 平和县| 连平县| 巴东县| 望谟县| 侯马市| 华安县| 巴楚县| 蒙自县| 黔西县| 济宁市| 绥棱县| 永登县| 南充市| 乐清市| 江陵县| 阿图什市| 定安县| 沐川县| 大英县| 江达县| 朝阳市| 汉川市| 宜黄县| 卢湾区| 辽宁省| 宁乡县| 泸定县| 弥勒县| 景宁| 偏关县| 铜陵市| 连江县| 凉山|