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 shashank
, 2 years ago
Unable to start activity ComponentInfo{com.shashank.sharjahinternationalairport/com.shashank.sharjahinternationalairport.MainActivity}: java.lang.ClassCastException: android.widget.ImageButton cannot be cast to android.widget.Button
via GitHub by maxime-kouemo
, 2 years ago
Unable to start activity ComponentInfo{com.example.max_poly.driverecord/com.example.max_poly.driverecord.MenuActivity}: java.lang.ClassCastException: mehdi.sakout.fancybuttons.FancyButton cannot be cast to android.widget.Button
via Stack Overflow by THE ANDROID
, 2 years ago
Unable to start activity ComponentInfo{com.searchingapp.android/com.searchingapp.android.MainActivity}: java.lang.ClassCastException: android.widget.EditText cannot be cast to android.widget.Button
via Stack Overflow by mhyuk
, 11 months ago
Unable to start activity ComponentInfo{com.mhyuktown.exowallpaper/com.mhyuktown.exowallpaper.MainActivity}: java.lang.ClassCastException: android.widget.ImageButton cannot be cast to android.widget.Button
via Stack Overflow by Rupesh Yadav.
, 2 years ago
Unable to start activity ComponentInfo{com.example.ex3dynamiclist/com.example.ex3dynamiclist.MainActivity}: java.lang.ClassCastException: android.widget.Button cannot be cast to android.widget.ListView
Empty query.