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

Stack Overflow | Roy Solberg | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Default FirebaseApp is not initialized

    Stack Overflow | 4 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.
  2. 0

    New Firebase Initialize Crashes

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

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

    Stack Overflow | 7 months ago | Abdullah
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Default FirebaseApp is not initialized in this process com.example.app. Make sure to call FirebaseApp.initializeApp(Context) first.

      at com.google.firebase.FirebaseApp.getInstance()
    2. com.google.firebase
      FirebaseRemoteConfig.getInstance
      1. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      2. com.google.firebase.remoteconfig.FirebaseRemoteConfig.getInstance(Unknown Source)
      2 frames
    3. com.example.app
      SomeFragment.onCreateView
      1. com.example.app.fragments.SomeFragment.updateFooter(SourceFile:295)
      2. com.example.app.fragments.SomeFragment.onCreateView(SourceFile:205)
      2 frames
    4. Android Support v4
      ViewPager.setAdapter
      1. android.support.v4.app.Fragment.performCreateView(SourceFile:2080)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(SourceFile:1108)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(SourceFile:1290)
      4. android.support.v4.app.BackStackRecord.run(SourceFile:801)
      5. android.support.v4.app.FragmentManagerImpl.execSingleAction(SourceFile:1638)
      6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(SourceFile:679)
      7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(SourceFile:143)
      8. android.support.v4.view.ViewPager.populate(SourceFile:1240)
      9. android.support.v4.view.ViewPager.populate(SourceFile:1088)
      10. android.support.v4.view.ViewPager.setAdapter(SourceFile:542)
      10 frames
    5. com.example.app
      AsyncHttp.onPostExecute
      1. com.example.app.SomeActivity.onSomeAsyncCallback(SourceFile:908)
      2. com.example.app.SomeDataRetriever.onAsyncHttpCompleted(SourceFile:72)
      3. com.example.app.io.AsyncHttp.onPostExecute(SourceFile:141)
      4. com.example.app.io.AsyncHttp.onPostExecute(SourceFile:19)
      4 frames
    6. Android Platform
      ActivityThread.main
      1. android.os.AsyncTask.finish(AsyncTask.java:679)
      2. android.os.AsyncTask.access$500(AsyncTask.java:180)
      3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:696)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:150)
      6. android.app.ActivityThread.main(ActivityThread.java:5665)
      6 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689)
      2 frames