# Error when cordova launch my app

**URL:** <https://forum.ionicframework.com/t/error-when-cordova-launch-my-app/111043>\
**Category:** ionic-v3\
**Created:** [November 4, 2017, 6:27pm UTC](https://forum.ionicframework.com/t/error-when-cordova-launch-my-app/111043 "2017-11-04T18:27:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CSantos8](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/csantos8/32/114576_2.png) [@CSantos8](https://forum.ionicframework.com/u/CSantos8)\
**Post date:** [November 4, 2017, 6:27pm UTC](https://forum.ionicframework.com/t/error-when-cordova-launch-my-app/111043/1 "2017-11-04T18:27:44Z")

</div>

Hello, I have a big problem. I execute the comand `ionic cordova run android` and all is OK. The build is success, howeer, when the app is launching, the app throw a message`'nfortunately, app has stopped.`  
I have tried to see the logcat with `adb locgat` and the error is that:

```auto
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process
Make sure to call FirebaseApp.initializeApp(Context) first.

```

I have never seen that error before and my app is the same, i have changed anything.  
Please, could someone help me? Thank you.

\*The command `ionic serve` works fine.

---

<div class="post-metadata">

**Author:** ![CSantos8](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/csantos8/32/114576_2.png) [@CSantos8](https://forum.ionicframework.com/u/CSantos8)\
**Post date:** [November 6, 2017, 1:25pm UTC](https://forum.ionicframework.com/t/error-when-cordova-launch-my-app/111043/3 "2017-11-06T13:25:05Z")

</div>

I have resolved this problem following the steps of this link:

> <https://github.com/arnesson/cordova-plugin-firebase/issues/206>

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 10:06pm UTC](https://forum.ionicframework.com/t/error-when-cordova-launch-my-app/111043/4 "2021-07-19T22:06:39Z")

</div>

Closed on July 19, 2021, 10:06pm UTC


