Android Studio-找不到intellij-core.jar [英] Android Studio - Could not find intellij-core.jar

查看:591
本文介绍了Android Studio-找不到intellij-core.jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用android studio 3.1.4.

I am using android studio 3.1.4.

错误:找不到intellij-core.jar(com.android.tools.external.com-intellij:intellij-core:26.0.1). 在以下位置搜索: https://jcenter.bintray.com/com/android/tools/external/com-intellij/intellij-core/26.0.1/intellij-core-26.0.1.jar

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

推荐答案

我能够通过在此处更改存储库的顺序来解决此问题:

I was able to fix the issue by changing the order of the repositories here:

/platforms/android/CordovaLib/build.gradle

从这里:

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

对此:

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

这篇关于Android Studio-找不到intellij-core.jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆