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

Solutions on the web40048

  • via Stack Overflow by atlascoder
    , 10 months ago
    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
  • via GitHub by the0ne
    , 7 months ago
    Unable to resume activity {com.phikal.regex/com.phikal.regex.Activities.GameActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  • Unable to resume activity {net.kindows.chitchat/net.kindows.DecoderActivity}: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to com.dlazaro66.qrcodereaderview.QRCodeReaderView
  • Stack trace

    • 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2966) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2367) at android.app.ActivityThread.access$700(ActivityThread.java:168) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1329) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:177) at android.app.ActivityThread.main(ActivityThread.java:5493) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041) at dalvik.system.NativeStart.main(Native Method) Caused by: 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(Unknown Source) at com.google.firebase.auth.FirebaseAuth.b(Unknown Source) at com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source) at com.google.firebase.auth.FirebaseAuth.<init>(Unknown Source) at com.google.android.gms.b.av.<init>(Unknown Source) at com.google.firebase.auth.FirebaseAuth.a(Unknown Source) at com.google.firebase.auth.FirebaseAuth.b(Unknown Source) at com.atlascoder.android.dollaruz.MainActivity.onResume(Unknown Source) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1209) at android.app.Activity.performResume(Activity.java:5450) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2922)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.