Android build miss intellij-core-26.0.1.jar
Answered
Hi all,
since today I cannot build my android project because of this error :
> Could not resolve all files for configuration ':classpath'.
> 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
Android studio 3.2.1
com.android.tools.build:gradle:3.0.1
Do you have any clue ??? Thanks a lot
Vlad
Please sign in to leave a comment.
Hello Vlad,
Please try suggestions from this thread: https://stackoverflow.com/questions/52946371/android-studio-could-not-find-intellij-core-jar
Hi Yaroslav,
Thanks for your message. Already done, but changing the gradle version is not an option for me because it will involve much more changes on my dependency tree.
Do you have another option ?
Why this file is not available anymore on the same url as before ?
BR,
Vlad
Vlad,
There is a suggestion to add google() repository. Have you tried it?
Hi Yaroslav, I tried add google() repository but it not works? Why did you remove that file? Is it possible to restore it? Or, is it possible that the file is downloaded from Maven Repository and not jcenter?
Thanks,
Michele
Hi Vlad and Yaroslav, I found a solution for me https://stackoverflow.com/a/52966227/1155718 . I use cordova-android. I add the google() on the build.gradle under CordovaLib and it's works. I hope I helped you.
michele
Thanks Michele,
I've already had google() in grade.build, but it was in the wrong order (jcenter() was above).
Thanks for the hint :-)
Can someone confirm that since the update of the 23rd of October this jar package isn't working?
https://bintray.com/bintray/jcenter/com.android.tools.external.com-intellij%3Aintellij-core#reviews
If so, some ETA on a fix would be swell.
Same problem for me, the previous hint works, don't forget to change the order in both:
buildscript {repositories {
google()
jcenter()
}
allprojects {repositories {
google()
jcenter()
That's the answer I keep seeing everywhere. From your definite feedback I see that it does fix this.
It seems that it's not working on my case because I'm using gradle with unity and a third party library - Firebase SDK for unity, has it's own gradle.build that I can't (or don't know how to) edit it.
Thank you.