-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add task ':app:processDebugGoogleServices' as a task with that name already exists #578
Comments
Hi, change the last line of code ( /platforms/android/cordova-plugin-fcm/FCMPlugin.gradle): to this:
and build will work. |
Any update on this ? Facing the same issue.
|
yes i have the same problem |
Same problem here. |
any update ? I have the same issue |
What works for me was changing the line: apply plugin: com.google.gms.googleservices.GoogleServicesPlugin in platforms\android\cordova-plugin-fcm-with-dependecy-updated to this: ext.postBuildExtras = { or if you have install phonegap-plugin-push then remove it and try again |
Hello all! $ ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated Build failed
I have already installed: $ ionic cordova plugin add cordova-plugin-firebase-authentication and i could build it after adding this plugin.. Is this versioning issue? if yes how to resolve this? Can anyone guide? My project files app-FCMPlugin.gradlebuildscript { build.gradlebuildscript {
} allprojects {
} task clean(type: Delete) { package.json"name": "DevApp", app.build.gradlebuildscript {
} // use postBuildExtras to make sure the plugin is applied after A prompt response would be appreciated! |
@pawan-logiciel thanks but it's not working. I tried it. |
Same here... |
I'm struggling with ionic after adding any plugin. I hate ionic |
None of the solutions worked for me. @K-Desu Indeed, any change in plugins results in errors, and hours of googling... |
A problem occurred configuring project ':app'.
|
Does anyone solved this issue? |
@RanajitManna i think it comes due to update of google services you can try this by uninstall |
I just got able to "solve" by creating an empty project and compiling it from scratch and after that add plugins one by one until complete the project, the final code was exactly the same from before the bug. |
Hi |
Hi |
Hey !
I download
ionic cordova plugin add cordova-plugin-fcm
in order to send and to receive push notification from device to Firebase.Unfortunately, when I launch
ionic cordova run android --device
, I got this issue :This is my /platforms/android/cordova-plugin-fcm/FCMPlugin.gradle :
Does someone have an idea ?
The text was updated successfully, but these errors were encountered: