java.lang.RuntimeException: Unable to start activity ComponentInfo{test.android/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: android.graphics.drawable.ColorDrawable cannot be cast to android.support.v7.widget.RoundRectDrawable

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 Appcelerator JIRA by Fokke Zandbergen, 1 year ago
Unable to start activity ComponentInfo{test.android/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: android.graphics.drawable.ColorDrawable cannot be cast to android.support.v7.widget.RoundRectDrawable
via Appcelerator JIRA by Fokke Zandbergen, 1 year ago
Unable to start activity ComponentInfo{test.android/org.appcelerator.titanium.TiActivity}: java.lang.ClassCastException: android.graphics.drawable.ColorDrawable cannot be cast to android.support.v7.widget.RoundRectDrawable
via GitHub by hiquanta
, 1 year ago
Unable to start activity ComponentInfo{com.hiquanta.logisticsapp/com.hiquanta.logisticsapp.ui.LoginActivity}: java.lang.ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout
via Stack Overflow by akkie4396
, 1 year ago
Unable to start activity ComponentInfo{com.pixalstudio.musicadda/com.pixalstudio.musicadda.MainActivity}: java.lang.ClassCastException: android.support.v7.widget.Toolbar cannot be cast to android.widget.Toolbar
via Stack Overflow by Bene
, 9 months ago
Unable to start activity ComponentInfo{mi.ur.de.dasilvaapp/mi.ur.de.dasilvaapp.HomeActivity}: java.lang.ClassCastException: android.support.v7.widget.AppCompatTextView cannot be cast to mi.ur.de.dasilvaapp.DaSilvaAppTitleTextView
via Stack Overflow by KP_
, 2 years ago
Unable to start activity ComponentInfo{com.fcords.android/com.fcords.android.Home.HomeScreen.HomePage_New}: java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.support.v7.widget.Toolbar$SavedState
java.lang.ClassCastException: android.graphics.drawable.ColorDrawable cannot be cast to android.support.v7.widget.RoundRectDrawable
at android.support.v7.widget.CardViewApi21.setRadius(CardViewApi21.java:36)
at ti.modules.titanium.ui.widget.TiUICardView.processProperties(TiUICardView.java:62)
at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1209)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:505)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:512)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:496)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:474)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:675)

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.