JavaShuo
欄目
標籤
AndroidStudio使用gradle出現Could not download... 或unable to resolve dependency for...
時間 2021-07-14
標籤
實戰
欄目
Android
简体版
原文
原文鏈接
第一步 將 gradle.properties 文件 下配置的所有網絡代理都註釋掉 。 (mac 下通過終端 open .gradle 命令打開 。 windows 下通過 C:\users{user name}.gradle 目錄下找到) 第二步 在項目的 Gradle 文件裏,配置國內源(將 jcenter()注掉或者刪掉,替換成下圖兩行maven配置) 第三步 重新 Sync 或者 Rebu
>>阅读原文<<
相關文章
1.
Unable to resolve dependency for... Could not resolve project :library
2.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not download xx.jar
3.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download gson.jar
4.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download mapsforge-map.jar
5.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not download
6.
Unable to resolve dependency for ':@debug/compileClasspath' || Could not download *.jar
7.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download crashrepor.aar等問題
8.
ERROR: Unable to resolve dependency for [email protected]/compileClasspath: Could not download appcompat.
9.
AS報錯Could not resolve all artifacts for configuration ':classpath'.;Unable to resolve dependency for
10.
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not resolve com
更多相關文章...
•
Docker 鏡像使用
-
Docker教程
•
XSD 如何使用?
-
XML Schema 教程
•
Composer 安裝與使用
•
使用Rxjava計算圓周率
相關標籤/搜索
unable
dependency
resolve
download
androidstudio
或使
或用
使出
出使
現出
Android
Gradle
PHP教程
SQLite教程
MyBatis教程
應用
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
1.2 Illustrator多文檔的幾種排列方式
2.
5.16--java數據類型轉換及雜記
3.
性能指標
4.
(1.2)工廠模式之工廠方法模式
5.
Java記錄 -42- Java Collection
6.
Java記錄 -42- Java Collection
7.
github使用
8.
Android學習筆記(五十):聲明、請求和檢查許可
9.
20180626
10.
服務擴容可能引入的負面問題及解決方法
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
Unable to resolve dependency for... Could not resolve project :library
2.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not download xx.jar
3.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download gson.jar
4.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download mapsforge-map.jar
5.
Unable to resolve dependency for ':app@debug/compileClasspath': Could not download
6.
Unable to resolve dependency for ':@debug/compileClasspath' || Could not download *.jar
7.
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not download crashrepor.aar等問題
8.
ERROR: Unable to resolve dependency for [email protected]/compileClasspath: Could not download appcompat.
9.
AS報錯Could not resolve all artifacts for configuration ':classpath'.;Unable to resolve dependency for
10.
ERROR: Unable to resolve dependency for ':[email protected]/compileClasspath': Could not resolve com
>>更多相關文章<<