# Cordova-plugin-firebase bug

**URL:** <https://forum.ionicframework.com/t/cordova-plugin-firebase-bug/169959>\
**Category:** Ionic Framework\
**Created:** [July 30, 2019, 8:45am UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-bug/169959 "2019-07-30T08:45:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LacOniC](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/laconic/32/130566_2.png) [@LacOniC](https://forum.ionicframework.com/u/LacOniC)\
**Post date:** [July 30, 2019, 8:45am UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-bug/169959/1 "2019-07-30T08:45:50Z")

</div>

When i add cordova-plugin-firebase plugin to project, i can not build android:

> Execution failed for task ‘:app:fabricGenerateResourcesRelease’.

There are some topics about it but none of them worked with me. For example: [One](https://github.com/arnesson/cordova-plugin-firebase/issues/1084#issuecomment-503472455) [Two](https://github.com/arnesson/cordova-plugin-firebase/issues/1033)

Do you have another solution? Or if you don’t have this problem what are your package versions?

Btw, i need @ionic-native/firebase for push notifications. Can @ionic-native/fcm be used same purpose?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![LacOniC](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/laconic/32/130566_2.png) [@LacOniC](https://forum.ionicframework.com/u/LacOniC)\
**Post date:** [July 30, 2019, 10:54am UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-bug/169959/2 "2019-07-30T10:54:18Z")

</div>

I used cordova-plugin-firebaseX instead of cordova-plugin-firebase and it works. Weird solution but only one for me:

> [@Execution failed for task ':app:fabricGenerateResourcesDebug'. ionic 4](https://forum.ionicframework.com/t/execution-failed-for-task-fabricgenerateresourcesdebug-ionic-4/167323):
>
> Hi everyone, I want to create .apk file but I get this error. BUILD FAILED in 15s 27 actionable tasks: 4 executed, 23 up-to-date C:\Users\tagi.a\desktop\maximum-app\platforms\android\gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. \* What went wrong: Execution failed for task ':app:fabricGenerateResourcesDebug'. \> Crashlytics Developer Tools error. \* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to g…
