最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

解決Could not find com.android.tools.build:gradle:3.0.0

 更新時間:2021年08月19日 11:44:03   作者:CR7Z  
這篇文章主要介紹了在Android Studio升級時碰到Could not find com.android.tools.build:gradle:3.0.0問題的解決方法,需要的朋友跟隨小編一起看看吧

android studio升級3.0,gradle升級4.1以后項目報錯,如下

Could not resolve all files for configuration ‘:classpath'.
Could not find com.android.tools.build:gradle:3.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0/gradle-3.0.0.jar
Required by:
project :* Try:
Run with –stacktrace option to get the stack trace. Run with –debug option to get more log output.

解決方法:在project的builde.gradle做如下操作分別加上google()

buildscript {

repositories {
    google()
    ....
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.0'


    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}

allprojects {
    repositories {
        google()
        .....
    }
}

到此這篇關于解決Could not find com.android.tools.build:gradle:3.0.0的文章就介紹到這了,更多相關Could not find gradle:3.0.0內容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

相關文章

最新評論

台安县| 宝清县| 松江区| 邛崃市| 白城市| 东方市| 延长县| 沧州市| 东城区| 台州市| 汕尾市| 田林县| 墨脱县| 巴楚县| 宁晋县| 富裕县| 定兴县| 哈巴河县| 宜阳县| 荥阳市| 蕉岭县| 昭觉县| 马山县| 抚州市| 江门市| 惠安县| 顺昌县| 台安县| 富源县| 千阳县| 弥渡县| 镇远县| 大新县| 南京市| 特克斯县| 时尚| 左贡县| 淅川县| 文安县| 阳春市| 土默特右旗|