java.lang.RuntimeException: Unable to create application com.mycompany.myapp.activities.MyApp: java.lang.ClassCastException: com.google.android.gms.internal.hc cannot be cast to com.google.firebase.auth.c com.google.android.gms.internal.hc cannot be cast to com.google.firebase.auth.c

Stack Overflow | theJosh | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Firebase crashes on Android during anonymous login

    Stack Overflow | 9 months ago | theJosh
    java.lang.RuntimeException: Unable to create application com.mycompany.myapp.activities.MyApp: java.lang.ClassCastException: com.google.android.gms.internal.hc cannot be cast to com.google.firebase.auth.c com.google.android.gms.internal.hc cannot be cast to com.google.firebase.auth.c

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.google.android.gms.internal.hc cannot be cast to com.google.firebase.auth.c

      at com.google.android.gms.internal.aa.a()
    2. com.google.android
      aa.a
      1. com.google.android.gms.internal.aa.a(Unknown Source)
      1 frame
    3. com.google.firebase
      FirebaseAuth.<init>
      1. com.google.firebase.auth.FirebaseAuth.a(Unknown Source)
      2. com.google.firebase.auth.FirebaseAuth.d(Unknown Source)
      3. com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source)
      4. com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source)
      4 frames
    4. com.google.android
      z.<init>
      1. com.google.android.gms.internal.z.<init>(Unknown Source)
      1 frame
    5. com.google.firebase
      FirebaseAuth.b
      1. com.google.firebase.auth.FirebaseAuth.c(Unknown Source)
      2. com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
      3. com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
      3 frames
    6. com.tesseractmobile.solitairesdk
      SolitaireApp.onCreate
      1. com.tesseractmobile.solitairesdk.activities.SolitaireApp.onCreate(SolitaireApp.java:123)
      1 frame
    7. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1020)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4924)
      2 frames