java.lang.RuntimeException: Unable to create application com.company.application.AppApplication: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.company.application. Make sure to call FirebaseApp.initializeApp(Context) first.

Stack Overflow | Martin Rajniak | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    This is caused by using legacy commands from older versions of Firebase. Look for the new documentation and try using only the new SDK
  2. 0

    Application crashing on some devices because "Default FirebaseApp is not initialized in this process"

    Stack Overflow | 3 months ago | Martin Rajniak
    java.lang.RuntimeException: Unable to create application com.company.application.AppApplication: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.company.application. Make sure to call FirebaseApp.initializeApp(Context) first.
  3. 0

    Firebase real time database error ,My application is stopped when I am trying to run in emulator

    Stack Overflow | 1 month ago | Yuvakoti
    java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process koti.fcmdbreadwrite. Make sure to call FirebaseApp.initializeApp(Context) first.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to instantiate activity ComponentInfo in Firebase

    Stack Overflow | 1 month ago | Venky
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.halo.firebase/com.example.halo.firebase.MainActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.example.halo.firebase. Make sure to call FirebaseApp.initializeApp(Context) first.
  6. 0

    How can I solve the Android Firebase error "Default FirebaseApp is not initialised in this process"?

    Stack Overflow | 5 months ago | Subham Kaps
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.skapsdevelopment.firebase/com.skapsdevelopment.firebase.MainActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.skapsdevelopment.firebase. Make sure to call FirebaseApp.initializeApp(Context) first.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

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

      at com.google.firebase.a.d()
    2. com.google.firebase
      a.a
      1. com.google.firebase.a.d(Unknown Source)
      2. com.google.firebase.b.a.a(Unknown Source)
      2 frames
    3. com.company.application
      AppApplication.onCreate
      1. com.company.application.d.a.a(SourceFile:21)
      2. com.company.application.AppApplication.onCreate(SourceFile:76)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1037)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:6426)
      3. android.app.ActivityThread.access$1800(ActivityThread.java:229)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:148)
      7. android.app.ActivityThread.main(ActivityThread.java:7329)
      7 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames