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.

Cannot add extension with name googleServices

See original GitHub issue

I tried to install for Android only to begin with…

Plugin doesn't support this project's cordova-android version. cordova-android: 9.1.0, failed version requirement: <9.0.0
Skipping 'cordova-support-google-services' for android

Anyway, I tried to build the project and it failed with this…

Adding classpath: com.google.gms:google-services:4.3.3
FAILURE: Build failed with an exception.
 Where:
Build file 'D:\App\platforms\android\app\build.gradle' line: 434
 What went wrong:
A problem occurred evaluating project ':app'.
 Failed to apply plugin [id 'com.google.gms.google-services']
    Cannot add extension with name 'googleServices', as there is an extension already registered with that name.

cordova plugins list

  • cordova-open-native-settings 1.5.3 “Native settings”
  • cordova-plugin-add-swift-support 2.0.2 “AddSwiftSupport”
  • cordova-plugin-device 2.0.3 “Device”
  • cordova-plugin-firebase-analytics 5.0.0 “FirebaseAnalyticsPlugin”
  • cordova-plugin-geolocation 4.1.0 “Geolocation”
  • cordova-plugin-inappbrowser 4.1.0 “InAppBrowser”
  • cordova-plugin-nativegeocoder 3.4.1 “NativeGeocoder”
  • cordova-plugin-network-information 2.0.2 “Network Information”
  • cordova-plugin-web-share 1.2.0 “WebShare”
  • cordova-plugin-whitelist 1.3.4 “Whitelist”
  • cordova-support-android-plugin 1.0.2 “cordova-support-android-plugin”
  • cordova-support-google-services 1.4.1 “cordova-support-google-services”
  • cordova.plugins.diagnostic 6.0.3 “Diagnostic”
  • pushwoosh-cordova-plugin 8.1.1 “Pushwoosh”
  • pushwoosh-geozones-cordova-plugin 1.17.0 “PushwooshGeozones”

Thanks in advance for any tips. Gary

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
chemerisukcommented, Jul 3, 2021

Latest release doesn’t depend on cordova-support-google-services.

0reactions
gazzafcommented, Jun 30, 2021

@simonwatt Thank you for sharing details of what you found out. I’m tied to Pushwoosh because of its geozone functionality so I wouldn’t be able to ditch it an use the firebaseX plugin. I don’t know if the author of cordova-plugin-firebase-analytics would fix it to play nicely with Pushwoosh and its version of firebase dependencies, but I imagine not if he doesn’t use it for his projects.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot add extension with name 'googleServices' on gradle ...
First I got an error "Plugin with id 'com.google.gms.google-services' not found.". To solve this I put the dependency "classpath ...
Read more >
Cannot add extension with name 'googleServices', as there is ...
Im install cordova-plugin-appcenter-push@0.5.1, and already have cordova-plugin-firebasex@6.0.7 in my project. And have error when trying to build android ...
Read more >
Firebase plugin - ionic-v3
Cannot add extension with name 'googleServices', as there is an extension already registered with that name. Try: Run with --stacktrace option ...
Read more >
Developers - Cannot add extension with name googleServices -
I tried to install for Android only to begin with... Plugin doesn't support this project's cordova-android version. cordova-android: 9.1.0, ...
Read more >
Mobile App generation Cordova issues with 2.5.1 [Solved]
Cannot add extension with name 'googleServices', as there is an extension already registered with that name. Do you have some advice ?
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