Could not find intellij-core.jar解决方案

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解决方案)