After installing the cordova-plugin-fcm plugin, the command ionic run android fails with the following exception:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:processDebugGoogleServices’.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog) or updating the version of com.google.android.gms to 9.2.0.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Found com.google.android.gms:play-services-analytics:+, but version 9.2.0 is needed for the google-services plugin.
:processDebugGoogleServices FAILED
BUILD FAILED
Total time: 3.015 secs
Error: Error code 1 for command: cmd with args: /s,/c,“C:\Projecten\ToDillo\ToDillo\platforms\android\gradlew cdvBuildDebug -b C:\Projecten\ToDillo\ToDillo\platforms\android\build.gradle -PcdvBuildArch=x86 -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true”
Caught exception:
undefined
Mind letting us know? Issues · ionic-team/ionic-cli · GitHub