cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ANDROID: After adding Dynatrace Gradle, it makes my android app crash

elnur
Visitor

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.

 

1 REPLY 1

paul_kapeller
Dynatrace Guide
Dynatrace Guide

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.

Thank you.

Featured Posts