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 AndiM
, 1 year ago
FirebaseApp with name [DEFAULT] doesn't exist.
via Stack Overflow by Prokky
, 1 year ago
FirebaseApp with name [DEFAULT] doesn't exist.
via Stack Overflow by Ashok Varma
, 1 year ago
FirebaseApp with name [DEFAULT] doesn't exist.
via GitHub by kcfgl
, 1 year ago
FirebaseApp with name [DEFAULT] doesn't exist.
via Stack Overflow by Kiko
, 1 week ago
Default FirebaseApp is not initialized in this process null. Make sure to call FirebaseApp.initializeApp(Context) first.
via Stack Overflow by san g
, 1 year ago
FirebaseApp with name [DEFAULT] doesn't exist.
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)

Users with the same issue

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

Write tip

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