Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.0.1.
See original GitHub issueYour Environment
- Plugin version: latest on git
- Platform: Android
- OS version:
- Device manufacturer and model:
- Cordova version (
cordova -v
): 7.0.1 - Cordova platform version (
cordova platform ls
): android and ios (but issue in cordova build android ) - Plugin configuration options:
- Link to your project:
Context
When I am trying to prepare android build via “cordova build android” getting build failed:
Expected Behavior
It should build android successfully.
Actual Behavior
BUILD FAILED
Total time: 12.582 secs Error: /Users/Shivank/Build/agentapp/limolushagentapp/platforms/android/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
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 https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.0.1.
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Possible Fix
When I am using this plugin and push plugin(https://github.com/phonegap/phonegap-plugin-push) together I am getting this error.
Steps to Reproduce
- install https://github.com/phonegap/phonegap-plugin-push and https://github.com/mauron85/cordova-plugin-background-geolocation plugin together.
- If we use single plugin it will work well
Context
Debug logs
Issue Analytics
- State:
- Created 6 years ago
- Comments:22 (6 by maintainers)
Top GitHub Comments
Once again. Do you guys realise that you want to me to hardcode dependency version just to make this plugin compatible with other. I can exactly say, that go and fill issue in phonegap-plugin-push to make it compatible with this plugin.
That’s not way to go. Sorry. Won’t fix./
Ok. Got you. Didn’t read your response properly at first time, thinking you are against it.