java.lang.RuntimeException: Unable to start activity ComponentInfo{com.morais.daniela.doctorquiz/com.morais.daniela.doctorquiz.Activity.ResultActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.TintDrawableWrapper cannot be cast to android.graphics.drawable.LayerDrawable

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 Daniela Morais
, 1 year ago
Unable to start activity ComponentInfo{com.morais.daniela.doctorquiz/com.morais.daniela.doctorquiz.Activity.ResultActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.TintDrawableWrapper cannot be cast to android.graphics.drawable.LayerDrawable
via teamtreehouse.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.jordanpeterson.textly/com.jordanpeterson.textly.ui.MainActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.ContentFrameLayout cannot be cast to android.support.v7.internal.widget.NativeActionModeAwareLayout
via Stack Overflow by James Morrisey
, 1 year ago
Unable to start activity ComponentInfo{com.example.james.card_app/com.example.james.card_app.MainMenu}: java.lang.ClassCastException: android.support.v7.widget.AppCompatImageButton cannot be cast to android.widget.Button
via GitHub by omnimethod
, 2 years ago
Unable to start activity ComponentInfo{com.monyetmabuk.rajawali.tutorials/tn80apps.core.LoadModelActivity}: java.lang.ClassCastException: tn80apps.core.LoadModelActivity cannot be cast to android.view.View$OnClickListener
via GitHub by ox7
, 2 years ago
Unable to start activity ComponentInfo{com.elong.mobile.basemantis/com.elong.mobile.plugin.baseactivity}: java.lang.ClassCastException: com.elong.mobile.plugin.hr.EPluginContextWrapper cannot be cast to android.app.Application
via GitHub by nbradbury
, 2 years ago
Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.android.ui.reader.ReaderPostListActivity}: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Stack
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.morais.daniela.doctorquiz/com.morais.daniela.doctorquiz.Activity.ResultActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.TintDrawableWrapper cannot be cast to android.graphics.drawable.LayerDrawable
at com.morais.daniela.doctorquiz.Activity.ResultActivity.setDados(ResultActivity.java:44)
at com.morais.daniela.doctorquiz.Activity.ResultActivity.onCreate(ResultActivity.java:36)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)

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.