Could not find intellij-core.jar


#1

Hi Everyone!

I am getting this 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

Please help me to solve this


#2

I am also having the same issue


#3

Edit platforms/android/CordovaLib/build.gradle

I.e. change:

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

To:

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

It worked for me after editing doing.


#4

Thank’s, this resolve my problem.


#5

tried, still not working


#6

Same problem. jCenter delete this package from your repository, I guess they will update soon


#7

Same problem, our CI CD is broken because of this. The same CI/CD pipeline has been working for months. but broken since this morning because of Could not find intellij-core.jar


#8

hey guys I came across the same problem, which is actually a conflict between the ionic, gradle and gradle plugin. It turns out that in the new version of the gradle plugin the build is now dependent on the google repository. To get around the problem you need to change 2 files:

Make sure they are as described below!

1 ° - “platforms / android / CordovaLib / build.gradle”

buildscript {
repositories {
Google()
maven {
url “https://maven.google.com
}
jcenter ()
}

2 ° - “platforms / android / build.gradle”
buildscript {
repositories {
google()
maven {
url “https://maven.google.com
}
jcenter ()
}

and

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

This is it. Hope this helps!

google notes about updating pluguin


#10

Confirmed this is working. However, change Google() to google()