I am using android studio 3.1.4.
Error:Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1). Searched in the following loc
I solve my problem; change the platform/android/CordovaLib/build.gradle file. I put the maven repo ahead the jcenter:
repositories { maven { url "https://maven.google.com" } jcenter() }
And I use cordova-android 7.1.1.