java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.xxx.xxx/xxx.xxx.xxx.MainActivity}: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.

GitHub | dhruv270 | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting Error on Application Launch

    GitHub | 9 months ago | dhruv270
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.xxx.xxx/xxx.xxx.xxx.MainActivity}: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  2. 0

    Firebase Cloud Messaging -> Illegal State Exception in Android

    Stack Overflow | 10 months ago | Yash Jain
    java.lang.RuntimeException: Unable to start activity ComponentInfo{careerage.jobseeker.app/careerage.jobseeker.app.MainActivity}: java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] doesn't exist.
  3. 0

    Could not find a method saveData(View)

    Google Groups | 6 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      FirebaseApp with name [DEFAULT] doesn't exist.

      at com.google.firebase.FirebaseApp.getInstance()
    2. com.google.firebase
      FirebaseMessaging.getInstance
      1. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      2. com.google.firebase.FirebaseApp.getInstance(Unknown Source)
      3. com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
      4. com.google.firebase.messaging.FirebaseMessaging.getInstance(Unknown Source)
      4 frames
    3. com.gae.scaffolder
      FCMPlugin.initialize
      1. com.gae.scaffolder.plugin.FCMPlugin.initialize(FCMPlugin.java:34)
      1 frame
    4. org.apache.cordova
      CordovaActivity.loadUrl
      1. org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:57)
      2. org.apache.cordova.PluginManager.getPlugin(PluginManager.java:172)
      3. org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:98)
      4. org.apache.cordova.PluginManager.init(PluginManager.java:87)
      5. org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116)
      6. org.apache.cordova.CordovaActivity.init(CordovaActivity.java:144)
      7. org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:214)
      7 frames
    5. xxx.xxx.xxx
      MainActivity.onCreate
      1. xxx.xxx.xxx.MainActivity.onCreate(MainActivity.java:32)
      1 frame
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6092)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2468)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2595)
      5. android.app.ActivityThread.access$800(ActivityThread.java:178)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1470)
      7. android.os.Handler.dispatchMessage(Handler.java:111)
      8. android.os.Looper.loop(Looper.java:194)
      9. android.app.ActivityThread.main(ActivityThread.java:5631)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
      2 frames