java.lang.RuntimeException: Unable to start activity ComponentInfo{flash4life.gespant2015.com.flashreflex20/flash4life.gespant2015.com.flashreflex20.MainActivity}: java.lang.ClassCastException: com.google.android.gms.common.SignInButton cannot be cast to android.widget.Button

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 Vynllazuril
, 2 years ago
Unable to start activity ComponentInfo{net.metaruptdonations.MetaDex/net.metaruptdonations.MetaDex.Bulbasaur}: java.lang.ClassCastException: net.metaruptdonations.MetaDex.Bulbasaur cannot be cast to android.speech.tts.TextToSpeech$OnInitListener
via GitHub by aveuiller
, 1 year ago
Unable to start activity ComponentInfo{com.github.dkharrat.nexusdialog.sample/com.github.dkharrat.nexusdialog.sample.SimpleExample}: java.lang.ClassCastException: android.widget.TextView$SavedState cannot be cast to android.widget.Spinner$SavedState
via Stack Overflow by rmbdeivis
, 2 years ago
Unable to start activity ComponentInfo{lt.deivas.letmeguess/lt.deivas.letmeguess.MainActivity}: java.lang.ClassCastException: lt.deivas.letmeguess.SpiralFragment cannot be cast to lt.deivas.letmeguess.GridFragment
via Stack Overflow by user2688158
, 2 years ago
Unable to start activity ComponentInfo{com.sample.postcare2/com.sample.postcare2.FlipCardActivity}: java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.Spinner
via GitHub by username4gh
, 10 months ago
Unable to start activity ComponentInfo{com.xxx.xxx/com.pingplusplus.android.PaymentActivity}: java.lang.ClassCastException: android.webkit.WebView cannot be cast to com.pingplusplus.android.WebViewEx
via Stack Overflow by Twizzler
, 2 years ago
Unable to start activity ComponentInfo{com.geniusgentlemen.gp_android_app/com.example.bart.gp_android_app.login_activity}: java.lang.ClassCastException: com.gc.materialdesign.views. </code></pre> <p><strong>ButtonRectangle cannot be cast to com.facebook.widget.LoginButton</strong>
java.lang.RuntimeException: Unable to start activity ComponentInfo{flash4life.gespant2015.com.flashreflex20/flash4life.gespant2015.com.flashreflex20.MainActivity}: java.lang.ClassCastException: com.google.android.gms.common.SignInButton cannot be cast to android.widget.Button

Users with the same issue

37 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
106 more bugmates

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