java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp name [DEFAULT] already exists!

Stack Overflow | yesterdaysfoe | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    FirebaseApp name [DEFAULT] already exists

    Stack Overflow | 7 months ago | yesterdaysfoe
    java.lang.RuntimeException: Unable to create application com.android.tools.fd.runtime.BootstrapApplication: java.lang.IllegalStateException: FirebaseApp name [DEFAULT] already exists!
  2. 0

    Module adapter for class could not be loaded. Please ensure that code generation was run for this module

    Stack Overflow | 3 years ago | dirtydexter
    java.lang.IllegalStateException: Module adapter for class in.mubble.billbytwo.RootModule could not be loaded. Please ensure that code generation was run for this module.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      FirebaseApp name [DEFAULT] already exists!

      at com.google.android.gms.common.internal.zzab.zza()
    2. com.google.android
      zzab.zza
      1. com.google.android.gms.common.internal.zzab.zza(Unknown Source)
      1 frame
    3. com.google.firebase
      FirebaseApp.initializeApp
      1. com.google.firebase.FirebaseApp.initializeApp(Unknown Source)
      1 frame
    4. com.sample.android
      BcodeApplication.onCreate
      1. com.sample.android.activities.BcodeApplication.onCreate(BcodeApplication.java:21)
      1 frame
    5. com.android.tools
      BootstrapApplication.onCreate
      1. com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
      1 frame
    6. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4328)
      2 frames