解決android studio引用遠程倉庫下載慢(JCenter下載慢)
本文介紹了解決android studio引用遠程倉庫下載慢的兩種方法,具體如下:
第一種方法
使用開源中國的maven庫
阿里云的(速度飛快):http://maven.aliyun.com/nexus/content/groups/public/
替換項目根目錄下build.gradle中的
repositories { jcenter() }
為:
repositories { maven{url ’http://maven.aliyun.com/nexus/content/groups/public/’} }
第二種方法
修改https為 http協(xié)議下載http://jcenter/bintray.com/
替換項目根目錄下build.gradle中的
repositories { jcenter() }
為:
repositories { jcenter(){ url ’http://jcenter.bintray.com/’} }
到此這篇關(guān)于解決android studio引用遠程倉庫下載慢(JCenter下載慢)的文章就介紹到這了,更多相關(guān)android studio引用遠程倉庫下載慢內(nèi)容請搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
1. IntelliJ IDEA設(shè)置自動提示功能快捷鍵的方法2. 詳解idea中web.xml默認版本問題解決3. IntelliJ IDEA導入jar包的方法4. IntelliJ IDEA 2020最新激活碼(親測有效,可激活至 2089 年)5. IntelliJ IDEA 統(tǒng)一設(shè)置編碼為utf-8編碼的實現(xiàn)6. asp知識整理筆記4(問答模式)7. idea修改背景顏色樣式的方法8. jsp EL表達式詳解9. 解決ajax的delete、put方法接收不到參數(shù)的問題方法10. 使用Python爬取Json數(shù)據(jù)的示例代碼
