android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)提示無法下載classpath里的內(nèi)容
報(bào)錯(cuò):
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath’.
原因:
百度說是無法下載classpath里的內(nèi)容,具體不是很清楚
解決方法:
百度到了很多方法,單個(gè)嘗試都解決不了,然后把解決方法結(jié)合在build.gradle里
buildscript { repositories { google() mavenCentral() jcenter() } dependencies { classpath ’com.android.tools.build:gradle:3.6.1’ }}allprojects { repositories { google() maven { url ’https://maven.google.com’ } jcenter() }}
然后要到gradlewrappergradle-wrapper.properties里把distributionUrl換成你本地的。
總結(jié)
到此這篇關(guān)于android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)提示無法下載classpath里的內(nèi)容的文章就介紹到這了,更多相關(guān)android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)內(nèi)容請搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
1. ASP中if語句、select 、while循環(huán)的使用方法2. phpstudy apache開啟ssi使用詳解3. CSS 使用Sprites技術(shù)實(shí)現(xiàn)圓角效果4. 利用FastReport傳遞圖片參數(shù)在報(bào)表上展示簽名信息的實(shí)現(xiàn)方法5. 詳解瀏覽器的緩存機(jī)制6. chat.asp聊天程序的編寫方法7. ASP常用日期格式化函數(shù) FormatDate()8. 怎樣才能用js生成xmldom對象,并且在firefox中也實(shí)現(xiàn)xml數(shù)據(jù)島?9. HTML中的XML數(shù)據(jù)島記錄編輯與添加10. 推薦一個(gè)好看Table表格的css樣式代碼詳解
