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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by atlascoder
, 1 year 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 Stack Overflow by user3247335
, 2 years ago
Unable to resume activity {info.androidhive.googlemapsv2/info.androidhive.googlemapsv2.MainActivity}: java.lang.ClassCastException: info.androidhive.googlemapsv2.MainActivity cannot be cast to android.location.LocationListener
via GitHub by 2fast2fourier
, 2 years ago
Unable to resume activity {com.ferg.awfulapp/com.ferg.awfulapp.ForumsIndexActivity}: java.lang.NullPointerException
via GitHub by dimitrireef
, 2 years ago
Unable to resume activity {com.tchat/com.tchat.quickblox.ChatActivity}: java.lang.NullPointerException
via Stack Overflow by Dimitri
, 1 year ago
Unable to resume activity {com.tchat/com.tchat.quickblox.ChatActivity}: java.lang.NullPointerException
via GitHub by jousterde1
, 2 years ago
Unable to resume activity {jackpal.androidterm.sample.telnet/jackpal.androidterm.sample.telnet.TermActivity}: java.lang.NullPointerException
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.(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.(Unknown Source)
at com.google.android.gms.b.av.(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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.