java.lang.RuntimeException: Unable to create service com.tradesomev4.tradesomev4.m_Helpers.LocationService: 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 pastillas
, 1 year ago
Unable to create service com.tradesomev4.tradesomev4.m_Helpers.LocationService: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
via Stack Overflow by johnny_and1
, 2 years ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
via google.com by Unknown author, 1 year ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
via google.com by Unknown author, 2 years ago
Unable to create service open.menthal.services.DBServiceManipulator: java.lang.IllegalStateException: Parcel has been finalized!
via Stack Overflow by Bartek
, 2 years ago
Unable to create service com.MyApp.GPSLocation: java.lang.IllegalStateException: GoogleApiClient is not connected yet.
via GitHub by Teovald
, 1 year ago
Unable to create service com.deezer.jukebox.JukeboxService: java.lang.IllegalArgumentException: Unable to find GlideModule implementation
java.lang.RuntimeException: Unable to create service com.tradesomev4.tradesomev4.m_Helpers.LocationService: 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.database.FirebaseDatabase.getInstance(Unknown Source)
at com.tradesomev4.tradesomev4.m_Helpers.LocationService.onCreate(LocationService.java:128)

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.