question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Your 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

  1. install https://github.com/phonegap/phonegap-plugin-push and https://github.com/mauron85/cordova-plugin-background-geolocation plugin together.
  2. If we use single plugin it will work well

Context

Debug logs

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mauron85commented, Nov 17, 2017

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./

0reactions
mauron85commented, Nov 17, 2017

Ok. Got you. Didn’t read your response properly at first time, thinking you are against it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: fix the version conflict (google-services plugin)
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available ...
Read more >
Please fix the version conflict either by updating the ... - GitHub
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is ...
Read more >
Set up Google Play services
If your app uses a dependency that has been updated, change to the latest version in your app's dependencies to take advantage of...
Read more >
google-services 2.0.0-alpha3 & play-services:8.4.0 [37075379]
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at ...
Read more >
Conflict Error, versions google services conflict - ionic-v3
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found