Cannot add extension with name googleServices
See original GitHub issueI 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:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Latest release doesn’t depend on cordova-support-google-services.
@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.