java.lang.ClassCastException

android.widget.ImageView cannot be cast to android.view.ViewGroup

Solutions on the web19064

  • android.widget.ImageView cannot be cast to android.view.ViewGroup
  • android.widget.ImageView cannot be cast to android.view.ViewGroup
  • via Stack Overflow by user3484254
    , 1 year ago
    android.widget.ImageView cannot be cast to android.view.ViewGroup
  • Stack trace

    • java.lang.ClassCastException: android.widget.ImageView cannot be cast to android.view.ViewGroup at android.support.v4.app.BackStackRecord.configureTransitions(BackStackRecord.java:1165) at android.support.v4.app.BackStackRecord.beginTransition(BackStackRecord.java:1057) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:662) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:152) at android.app.ActivityThread.main(ActivityThread.java:5507) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    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

    2 times, 1 year ago
    Unknown user
    Once, 1 year ago