美文网首页
Could not find intellij-core.jar

Could not find intellij-core.jar

作者: 晖仔Milo | 来源:发表于2018-12-17 18:11 被阅读0次

android studio报错,提示
Error:Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar

解决方案一:

repositories {
    jcenter()
    maven {
        url "https://maven.google.com"
    }
}
改成:
repositories {
    maven {
        url "https://maven.google.com"
    }
    jcenter()
}

解决方案二

repositories {
    jcenter()
    maven {
        url "https://maven.google.com"
        name 'Google'
    }
}
改成:
repositories {
    maven {
        url "https://maven.google.com"
        name 'Google'
    }
    jcenter()
}

相关文章

网友评论

      本文标题:Could not find intellij-core.jar

      本文链接:https://www.haomeiwen.com/subject/azbckqtx.html