java.lang.RuntimeException: Unable to start activity ComponentInfo{com.itemstudio.castro/com.itemstudio.castro.settings.SettingsActivity}: java.lang.ClassCastException: org.polaric.colorful.ColorPickerPreference cannot be cast to android.preference.Preference


Solutions on the web

Solution icon of github
via GitHub by MenosGrante
, 9 months ago
Unable to start activity ComponentInfo{com.itemstudio.castro/com.itemstudio.castro.settings.SettingsActivity}: java.lang.ClassCastException: org.polaric.colorful.ColorPickerPreference cannot be cast to android.preference.Preference

Solution icon of github
via GitHub by adam-nadar
, 9 months ago
Unable to start activity ComponentInfo{com.field/odoo.controls.SearchableItemActivity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.Integer

Solution icon of github
via GitHub by xtj-9182
, 1 year ago
Unable to start activity ComponentInfo{ar.rulosoft.mimanganu/ar.rulosoft.mimanganu.MainActivity}: java.lang.ClassCastException: android.support.v7.preference.PreferenceScreen cannot be cast to android.preference.GenericInflater$Parent

Solution icon of github
Unable to start activity ComponentInfo{com.example/com.example.MainActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to com.example.models.UserEntity

Solution icon of github
via GitHub by vanniktech
, 11 months ago
Unable to start activity ComponentInfo{my.package/com.adobe.creativesdk.aviary.AdobeImageEditorActivity}: java.lang.ClassCastException: my.package.MyApplication cannot be cast to gv

Solution icon of github
via GitHub by jonandersen
, 4 months ago
Unable to start activity ComponentInfo{co.and.andco.development/co.and.andco.SplashActivity}: java.lang.ClassCastException: android.app.TaskStackBuilder cannot be cast to android.content.Intent

Solution icon of github
Unable to start activity ComponentInfo{cz.jenda.pidifrky/cz.jenda.pidifrky.ui.SettingsActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

Solution icon of github
Unable to start activity ComponentInfo{net.osmand.plus/net.osmand.plus.activities.MapActivity}: java.lang.ClassCastException: android.app.Application cannot be cast to net.osmand.plus.OsmandApplication

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.gijbelssiemen.list/com.gijbelssiemen.list.SettingsActivity}: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String

Solution icon of stackoverflow
via Stack Overflow by Gowtham Subramaniam
, 1 year ago
Unable to start activity ComponentInfo{com.example.bharathi.m_box/com.example.bharathi.m_box.MainActivity}: java.lang.ClassCastException: android.support.v7.widget.RecyclerView cannot be cast to android.widget.ListView

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.itemstudio.castro/com.itemstudio.castro.settings.SettingsActivity}: java.lang.ClassCastException: org.polaric.colorful.ColorPickerPreference cannot be cast to android.preference.Preference
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2680)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2741)

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

Samebug visitor profile picture
Unknown user
2 times, 22 hours ago
33 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
8 times, 4 weeks ago
109 more bugmates