Android: I have added Dynatrace as mentioned in the guide. After that cleaned app, everything looks okay. However, there is checkbox is my app, when I click on it it gives this error while Dynatrace enabled:
java.lang.ClassCastException: android.graphics.drawable.StateListDrawable cannot be cast to android.graphics.drawable.AnimatedStateListDrawable at com.dynatrace.android.sessionreplay.tracking.interceptors.impl.compound.CompoundUtilsKt.getCustomButtonDrawable(CompoundUtils.kt:18)
which I never get this error when Dynatrace removed from Gradle. Please help me out with how to handle this error.
Note: I tried android studio 2.3 (dolphin) with gradle 7.3.1 and distributions/gradle-7.5.1-bin.zip and
I tried android studio 2.2 with gradle 7.2.2 and distributions/gradle-7.4.2-all.zip , no success.