I have an Ionic 3 app that has built fine on dev machines for quite a while. Today we tried a new machine and it doesn't build there. It is using an older cordova-android version (6.1.2), but I would think it would still build. The error I'm seeing is below:
> ionic cordova build android
...
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not find support-v4.jar (com.android.support:support-v4:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar
One other piece of background info. This project had an issue with conflicting android support version requirements from multiple plugins, which required us to use a build-extras.gradle
file to force everything to com.android.support:support-v4:26+
. That was many months ago so it shouldn't be related, but I thought I should add it in case it helps.