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

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Why can't I do cast?

    Stack Overflow | 2 years ago | Daniela Morais
    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
  2. 0

    Android - Change LinearLayout visibility automatically after radio button is checked

    Stack Overflow | 5 years ago | Hend
    java.lang.ClassCastException: android.widget.LinearLayout
  3. 0

    Running multiple applications on a shared process with a shared project library

    Stack Overflow | 5 years ago | Angelo
    java.lang.ClassCastException: xper.common.CommonView cannot be cast to xper.common.CommonView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Application doesn't run due to ClassCastException

    Stack Overflow | 4 years ago | Elson Tan
    java.lang.ClassCastException: android.widget.LinearLayout
  6. 0

    Volley POST not working ClassCastException

    Stack Overflow | 2 years ago
    java.lang.ClassCastException: com.example.piyu004.volleycommunication.MainActivity cannot be cast to android.app.Activity at android.app.Instrumentation.newActivity(Instrumentation.java:1061)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.morais.daniela
      ResultActivity.onCreate
      1. com.morais.daniela.doctorquiz.Activity.ResultActivity.setDados(ResultActivity.java:44)
      2. com.morais.daniela.doctorquiz.Activity.ResultActivity.onCreate(ResultActivity.java:36)
      2 frames
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:4465)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
      3 frames