java.lang.RuntimeException: Unable to start activity ComponentInfo{it.unisalento.progetto.software.cunamameli.dafb/it.unisalento.progetto.software.cunamameli.dafb.loginPack.LoginActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process it.unisalento.progetto.software.cunamameli.dafb. Make sure to call FirebaseApp.initializeApp(Context) first. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2456)

Stack Overflow | user6848251 | 8 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

    Apply design Patterns to android with firebase application

    Stack Overflow | 8 months ago | user6848251
    java.lang.RuntimeException: Unable to start activity ComponentInfo{it.unisalento.progetto.software.cunamameli.dafb/it.unisalento.progetto.software.cunamameli.dafb.loginPack.LoginActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process it.unisalento.progetto.software.cunamameli.dafb. Make sure to call FirebaseApp.initializeApp(Context) first. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2456)
  2. 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
  3. 0

    Re: [Firebase] FirebaseAuth in application class and Firebase crash reporting exception

    Google Groups | 10 months ago | Samuel Stern
    java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Robolectric app testing with Firebase

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

    Firebase Crash Reporting : FirebaseApp with name [DEFAULT] doesn't exist

    Stack Overflow | 10 months ago | Modge
    java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

    1 unregistered visitors
    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 it.unisalento.progetto.software.cunamameli.dafb. Make sure to call FirebaseApp.initializeApp(Context) first.

      at com.google.firebase.FirebaseApp.getInstance()
    2. com.google.firebase
      FirebaseAuth.getInstance
      1. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      2. com.google.firebase.auth.FirebaseAuth.getInstance(Unknown Source)
      2 frames
    3. it.unisalento.progetto
      LoginActivity.onCreate
      1. it.unisalento.progetto.software.cunamameli.dafb.loginPack.LoginNetwork.<init>(LoginNetwork.java:19)
      2. it.unisalento.progetto.software.cunamameli.dafb.loginPack.LoginActivity.onCreate(LoginActivity.java:35)
      2 frames
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:6304)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
      3 frames