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
You have to do some modifications in your build.gradle file inside platforms/android as follows:
allprojects {
repositories {
mavenCentral()
maven { url 'https://maven.google.com' } //add this code
jcenter()
}
}
It's essential for new versions of google libraries. They moved their libraries out of the android SDK to the maven repo.