java.lang.ClassCastException: android.view.View cannot be cast to com.google.android.finsky.layout.play.PlayHighlightsBannerItemView

Android Enthusiasts | RRD | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Google Play Store crashes on Amlogic Android TV

    Android Enthusiasts | 1 year ago | RRD
    java.lang.ClassCastException: android.view.View cannot be cast to com.google.android.finsky.layout.play.PlayHighlightsBannerItemView

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.view.View cannot be cast to com.google.android.finsky.layout.play.PlayHighlightsBannerItemView

      at com.google.android.finsky.layout.play.PlayClusterViewContentV2.getViewForItemPosition()
    2. com.google.android
      HighlightsPagerAdapter$HighlightsTab$1.run
      1. com.google.android.finsky.layout.play.PlayClusterViewContentV2.getViewForItemPosition(PlayClusterViewContentV2.java:391)
      2. com.google.android.finsky.layout.play.PlayHighlightsBannerView.isItemLoaded(PlayHighlightsBannerView.java:99)
      3. com.google.android.finsky.activities.HighlightsPagerAdapter$HighlightsTab$1.run(HighlightsPagerAdapter.java:251)
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:733)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:136)
      4. android.app.ActivityThread.main(ActivityThread.java:5017)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:788)
      1 frame