问题描述
我正在使用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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!