# Could not find intellij-core.jar

**URL:** <https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397>\
**Category:** ionic-v3\
**Created:** [October 23, 2018, 2:23pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397 "2018-10-23T14:23:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya\_1027](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aditya_1027/32/109341_2.png) [@aditya\_1027](https://forum.ionicframework.com/u/aditya_1027)\
**Post date:** [October 23, 2018, 2:23pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/1 "2018-10-23T14:23:51Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![XyLoL](https://avatars.discourse-cdn.com/v4/letter/x/ec9cab/32.png) [@XyLoL](https://forum.ionicframework.com/u/XyLoL)\
**Post date:** [October 23, 2018, 3:17pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/2 "2018-10-23T15:17:48Z")

</div>

I am also having the same issue

---

<div class="post-metadata">

**Author:** ![XyLoL](https://avatars.discourse-cdn.com/v4/letter/x/ec9cab/32.png) [@XyLoL](https://forum.ionicframework.com/u/XyLoL)\
**Post date:** [October 23, 2018, 3:48pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/3 "2018-10-23T15:48:20Z")

</div>

Edit `platforms/android/CordovaLib/build.gradle`

I.e. change:

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

```

To:

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

```

It worked for me after editing doing.

> <https://stackoverflow.com/questions/52947906/ionic-3-prod-release-build-issue-with-intellij-core-26-0-1>

---

<div class="post-metadata">

**Author:** ![amaurylog](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@amaurylog](https://forum.ionicframework.com/u/amaurylog)\
**Post date:** [October 23, 2018, 4:12pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/4 "2018-10-23T16:12:20Z")

</div>

Thank’s, this resolve my problem.

---

<div class="post-metadata">

**Author:** ![aditya\_1027](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aditya_1027/32/109341_2.png) [@aditya\_1027](https://forum.ionicframework.com/u/aditya_1027)\
**Post date:** [October 23, 2018, 4:58pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/5 "2018-10-23T16:58:46Z")

</div>

tried, still not working

---

<div class="post-metadata">

**Author:** ![leandro070](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/leandro070/32/122350_2.png) [@leandro070](https://forum.ionicframework.com/u/leandro070)\
**Post date:** [October 23, 2018, 5:17pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/6 "2018-10-23T17:17:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wenbolovesnz](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/wenbolovesnz/32/122356_2.png) [@wenbolovesnz](https://forum.ionicframework.com/u/wenbolovesnz)\
**Post date:** [October 24, 2018, 1:23am UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/7 "2018-10-24T01:23:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![devjonathansouza](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@devjonathansouza](https://forum.ionicframework.com/u/devjonathansouza)\
**Post date:** [October 24, 2018, 7:11am UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/8 "2018-10-24T07:11:26Z")

</div>

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](https://maven.google.com)”  
}  
jcenter ()  
}

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

and

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

This is it. Hope this helps!

[google notes about updating pluguin](https://developer.android.com/studio/releases/gradle-plugin#updating-gradle)

---

<div class="post-metadata">

**Author:** ![Zizazorro](https://avatars.discourse-cdn.com/v4/letter/z/0ea827/32.png) [@Zizazorro](https://forum.ionicframework.com/u/Zizazorro)\
**Post date:** [October 26, 2018, 9:50am UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/10 "2018-10-26T09:50:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![patel\_telas\_mca](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@patel\_telas\_mca](https://forum.ionicframework.com/u/patel_telas_mca)\
**Post date:** [May 31, 2019, 9:32am UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/11 "2019-05-31T09:32:28Z")

</div>

It worked for me after editing doing.

---

<div class="post-metadata">

**Author:** ![Ratikanta](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ratikanta/32/109400_2.png) [@Ratikanta](https://forum.ionicframework.com/u/Ratikanta)\
**Post date:** [July 26, 2019, 6:22am UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/12 "2019-07-26T06:22:51Z")

</div>

I had to change in 3 files. Had to maintain the order of repository too. First _google_, then _maven_, then _jcenter_

1. platforms\android\CordovaLib\build.gradle
2. platforms\android\build.gradle
3. platforms\android\app\build.gradle

platforms\android\CordovaLib\build.gradle\>\>

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

    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'
        classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
    }
}

```

platforms\android\build.gradle\>\>

```auto
buildscript {
    repositories {
        google()
        maven {
            url "https://maven.google.com"
        }
		jcenter()
    }
    dependencies {

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        classpath 'com.android.tools.build:gradle:3.0.0'
    }
}

allprojects {
    repositories {
        google()
        maven {
            url "https://maven.google.com"
        }
		jcenter()
    }
    //This replaces project.properties w.r.t. build settings
    project.ext {
      defaultBuildToolsVersion="25.0.2" //String
      defaultMinSdkVersion=19 //Integer - Minimum requirement is Android 4.4
      defaultTargetSdkVersion=26 //Integer - We ALWAYS target the latest by default
      defaultCompileSdkVersion=26 //Integer - We ALWAYS compile with the latest by default
    }
}

```

platforms\android\app\build.gradle\>\>

```auto
buildscript {
    repositories {
        google()
        mavenCentral()
        maven {
            url "https://maven.google.com"
        }
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'
    }
}

```

Note: These are only some portion of the .gradle files NOT ALL

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:12pm UTC](https://forum.ionicframework.com/t/could-not-find-intellij-core-jar/145397/13 "2021-07-19T21:12:21Z")

</div>

Closed on July 19, 2021, 9:12pm UTC


