java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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

Solutions on the web

via Stack Overflow by Modge
, 1 year ago
Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
via GitHub by vrjgamer
, 2 months ago
Unable to create application com.vrjco.v.someapp.App: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
via GitHub by MichaelArchangel
, 1 year ago
Unable to create application com.velotech.veer.VEApp: java.lang.NullPointerException
via Stack Overflow by Apn17
, 1 year ago
Unable to create application com.neu.val.activity.VoiceApplication: java.lang.NullPointerException
via Stack Overflow by zhanzhan0812
, 3 months ago
Unable to create application com.example.galina.demo.MainApplication: java.lang.NullPointerException
via GitHub by nscherer
, 2 years ago
Unable to create application com.activeandroid.app.Application: java.lang.NullPointerException
java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
at com.google.firebase.FirebaseApp.getInstance(Unknown Source)
at com.google.firebase.FirebaseApp.getInstance(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.getInstance(Unknown Source)
at com.redstar.collectors.MainApplication.onCreate(MainApplication.java:22)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.