欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)提示無(wú)法下載classpath里的內(nèi)容

 更新時(shí)間:2020年05月09日 11:46:43   作者:xiaobailin_q  
這篇文章主要介紹了android studio 3.6.1導(dǎo)入項(xiàng)目報(bào)錯(cuò)提示無(wú)法下載classpath里的內(nèi)容,本文通過(guò)原因分析通過(guò)實(shí)例代碼給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下

報(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()

  }
}

然后要到gradle\wrapper\gradle-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)搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!

相關(guān)文章

最新評(píng)論