android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)提示無(wú)法下載classpath里的內(nèi)容
報(bào)錯(cuò):
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath’.
原因:
百度說(shuō)是無(wú)法下載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ò)提示無(wú)法下載classpath里的內(nèi)容的文章就介紹到這了,更多相關(guān)android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)內(nèi)容請(qǐng)搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
1. ASP中if語(yǔ)句、select 、while循環(huán)的使用方法2. ASP中解決“對(duì)象關(guān)閉時(shí),不允許操作?!钡脑幃悊?wèn)題……3. xml中的空格之完全解說(shuō)4. php bugs代碼審計(jì)基礎(chǔ)詳解5. WMLScript的語(yǔ)法基礎(chǔ)6. ASP使用MySQL數(shù)據(jù)庫(kù)的方法7. msxml3.dll 錯(cuò)誤 800c0019 系統(tǒng)錯(cuò)誤:-2146697191解決方法8. html小技巧之td,div標(biāo)簽里內(nèi)容不換行9. XML入門(mén)的常見(jiàn)問(wèn)題(四)10. ASP動(dòng)態(tài)網(wǎng)頁(yè)制作技術(shù)經(jīng)驗(yàn)分享
