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

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 theJosh
, 1 year ago
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
via GitHub by seroperson
, 1 year ago
Unable to create application com.example.debug.DebugApplication: java.lang.ClassCastException: java.lang.Class cannot be cast to android.app.ContextImpl$ServiceFetcher
via GitHub by pfn
, 1 year ago
Unable to create application ru.kinoplan24.debug.DebugApplication: java.lang.ClassCastException: java.lang.Class cannot be cast to android.app.ContextImpl$ServiceFetcher
via GitHub by chandana1212
, 1 year ago
Unable to create application com.rapidbizapps.dbs.common.CommonApplication: io.realm.exceptions.RealmMigrationNeededException: RealmMigration must be provided
via GitHub by small-tree
, 10 months ago
Unable to create application com.tinkerpatch.easy_sample.SampleApplication: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:applicationLike must not be null.
via GitHub by yurevich1
, 1 year ago
Unable to create application com.example.app._: java.lang.NullPointerException
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
at com.google.android.gms.internal.aa.a(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.a(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.d(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.(Unknown Source)
at com.google.android.gms.internal.z.(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.c(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
at com.google.firebase.auth.FirebaseAuth.b(Unknown Source)
at com.tesseractmobile.solitairesdk.activities.SolitaireApp.onCreate(SolitaireApp.java:123)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1020)

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.

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