java.lang.ClassCastException: android.animation.RevealAnimator cannot be cast to android.animation.ObjectAnimator

GitHub | Saketme | 2 years ago
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

    ClassCastException in the Sample app

    GitHub | 2 years ago | Saketme
    java.lang.ClassCastException: android.animation.RevealAnimator cannot be cast to android.animation.ObjectAnimator

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.animation.RevealAnimator cannot be cast to android.animation.ObjectAnimator

      at io.codetail.circualrevealsample.MainActivity$2.onClick()
    2. io.codetail.circualrevealsample
      MainActivity$2.onClick
      1. io.codetail.circualrevealsample.MainActivity$2.onClick(MainActivity.java:99)
      1 frame
    3. Android Platform
      View.performClick
      1. android.view.View.performClick(View.java:4756)
      1 frame
    4. dreamers.graphics
      TouchTracker$PerformClick.run
      1. dreamers.graphics.TouchTracker$PerformClick.run(TouchTracker.java:199)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5221)
      4 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
      2 frames