java.lang.RuntimeException: Unable to resume activity {com.example.firebase/com.example.firebase.MainActivity}: java.lang.ClassCastException: com.google.android.gms.b.qf cannot be cast to com.google.firebase.auth.n

Stack Overflow | atlascoder | 7 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

    FirebaseAuth ClassCastException

    Stack Overflow | 7 months ago | atlascoder
    java.lang.RuntimeException: Unable to resume activity {com.example.firebase/com.example.firebase.MainActivity}: java.lang.ClassCastException: com.google.android.gms.b.qf cannot be cast to com.google.firebase.auth.n

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.google.android.gms.b.qf cannot be cast to com.google.firebase.auth.n

      at com.google.android.gms.b.aw.a()
    2. com.google.android
      aw.a
      1. com.google.android.gms.b.aw.a(Unknown Source)
      1 frame
    3. com.google.firebase
      FirebaseAuth.<init>
      1. com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
      2. com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source)
      3. com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source)
      3 frames
    4. com.google.android
      av.<init>
      1. com.google.android.gms.b.av.<init>(Unknown Source)
      1 frame
    5. com.google.firebase
      FirebaseAuth.b
      1. com.google.firebase.auth.FirebaseAuth.a(Unknown Source)
      2. com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
      2 frames
    6. com.atlascoder.android
      MainActivity.onResume
      1. com.atlascoder.android.dollaruz.MainActivity.onResume(Unknown Source)
      1 frame
    7. Android Platform
      ActivityThread.performResumeActivity
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1209)
      2. android.app.Activity.performResume(Activity.java:5450)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2922)
      3 frames