java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

Stack Overflow | Abdullah | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Firebase + RoboElectric: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist

    Stack Overflow | 10 months ago | Abdullah
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  2. 0

    New Firebase Initialize Crashes

    Stack Overflow | 1 year ago | Ashok Varma
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  3. 0

    Default FirebaseApp is not initialized

    Stack Overflow | 7 months ago | Roy Solberg
    java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.example.app. Make sure to call FirebaseApp.initializeApp(Context) first.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      FirebaseApp with name [DEFAULT] doesn't exist.

      at com.google.firebase.FirebaseApp.getInstance()
    2. com.google.firebase
      FirebaseRemoteConfig.getInstance
      1. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      2. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      3. com.google.firebase.remoteconfig.FirebaseRemoteConfig.getInstance(Unknown Source)
      3 frames
    3. com.woi.apppackage
      MyApplication.onCreate
      1. com.woi.apppackage.android.MyApplication.initFirebase(MyApplication.java:225)
      2. com.woi.apppackage.android.MyApplication.onCreate(MyApplication.java:107)
      2 frames
    4. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:140)
      2. org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:433)
      3. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:240)
      4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
      5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      5 frames
    5. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    6. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:152)
      1 frame
    7. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      2 frames
    8. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    9. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    11. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame