I have an Ionic project that after upgrading to OSx Mojave, for some reason is not building anymore.
The project is built over Ionic 3.
I have Cordova CLI 7.0.0
When I run
ionic cordova run android
I get this error when trying to build:
* What went wrong:
Could not resolve all files for configuration ':debugCompileClasspath'.
> Could not find support-v4.aar (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.aar
I tried changing build.gradle, downgrading cordova, upgrading cordova, tried with different android versions, but still the same issue.
Any ideas what might be wrong here?