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

首頁 > 學院 > 開發設計 > 正文

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

2019-11-09 18:40:42
字體:
來源:轉載
供稿:網友

解決方法一:

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鏡像,這個方法沒試過,不知道好不好用,需要的同學,可以自行測試

點擊打開鏈接


上一篇:libsvm的使用

下一篇:fiddler

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 南郑县| 扶余县| 惠水县| 体育| 海原县| 集安市| 洛隆县| 武定县| 马尔康县| 五大连池市| 加查县| 都匀市| 阳山县| 莱西市| 万载县| 宁国市| 遵化市| 华池县| 桂林市| 五原县| 丰城市| 自贡市| 甘泉县| SHOW| 高唐县| 神池县| 通江县| 奇台县| 麟游县| 陆丰市| 澄迈县| 洛阳市| 秦皇岛市| 和龙市| 花莲市| 四川省| 葵青区| 石楼县| 新闻| 澜沧| 元谋县|