I'm trying to compile on ionic 3.20 with cordova 6.5.0 on Android.
I'm executing cordova run android
but everytime I'm getting:
Error: ~/Develop/blastbot-ionic/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_debugApkCopy'.
> Could not find any version that matches com.google.android.gms:play-services-gcm:12+.
Versions that do not match:
11.0.4
11.0.2
11.0.1
11.0.0
10.2.6
+ 18 more
Required by:
:android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
I have all this installed: SDK Manager
I've already tried executing cordova platform rm android
& cordova platform rm android@6.2
or cordova platform rm android
. Both ending in the same result. Downloaded a million different SDK's versions.