FirebaseApp with name [DEFAULT] doesn't exist
See original GitHub issueHi Guys,
I have been trying to make this plugin to work in my project, but I am stuck with this error:
V/JS (32145): firebase.init error: Error: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
V/JS (32145): com.google.firebase.FirebaseApp.getInstance(Unknown Source)
V/JS (32145): com.google.firebase.FirebaseApp.getInstance(Unknown Source)
V/JS (32145): com.google.firebase.database.FirebaseDatabase.getInstance(Unknown Source)
V/JS (32145): com.tns.Runtime.callJSMethodNative(Native Method)
V/JS (32145): com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:861)
V/JS (32145): com.tns.Runtime.callJSMethodImpl(Runtime.java:726)
V/JS (32145): com.tns.Runtime.callJSMethod(Runtime.java:712)
V/JS (32145): com.tns.Runtime.callJSMethod(Runtime.java:693)
V/JS (32145): com.tns.Runtime.callJSMethod(Runtime.java:683)
V/JS (32145): com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:13)
V/JS (32145): android.app.Activity.performCreate(Activity.java:6021)
V/JS (32145): android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
V/JS (32145): android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298)
V/JS (32145): android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2405)
V/JS (32145): android.app.ActivityThread.access$800(ActivityThread.java:155)
V/JS (32145): android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)
V/JS (32145): android.os.Handler.dispatchMessage(Handler.java:102)
V/JS (32145): android.os.Looper.loop(Looper.java:135)
V/JS (32145): android.app.ActivityThread.main(ActivityThread.java:5376)
V/JS (32145): java.lang.reflect.Method.invoke(Native Method)
V/JS (32145): java.lang.reflect.Method.invoke(Method.java:372)
V/JS (32145): com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
V/JS (32145): com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
FirebaseApp with name [DEFAULT] doesn't exist
After migrating to Firebase Cloud Messaging.When opening my app it crashes and throws an error saying java.lang.IllegalStateException: ...
Read more >FirebaseApp with name [DEFAULT] doesn't exist. - Reddit
I am trying to deploy a Spring Boot application with firebase admin sdk implemented for simple Bearer token authentication.
Read more >FirebaseApp with name [DEFAULT] doesn't exist", but only on ...
I just added Firebase to a large Android application which is now only published to beta. I'm not using Firebase Crash reporting, just...
Read more >Flutter + Firebase + Spring Boot + Restfull + OAuth2
FirebaseApp with name [DEFAULT] doesn't exist ; Firebase Token Verification. Rest of the Java code is pretty standard… Start the Spring boot application...
Read more >Android : FirebaseApp with name [DEFAULT] doesn't exist
Android : FirebaseApp with name [ DEFAULT ] doesn't exist [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Android ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here, did everything exactly as documented in README, more than one time.
Started a project from scratch and tried again, problem stills present.
For days I’m looking for a solution.
I did all of the above, the problem is still present…
I followed your tutorial video.