08 Dec 2022 01:06 AM - last edited on 08 Dec 2022 05:25 AM by Karolina_Linda
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.
Dear @elnur !
Can you please approach your support contact at Dynatrace to have a look at this issue? This way it will be handled much faster.