OkHttp Version Conflicts When Upgrading Dynatrace to Version 8.305 on Android

When upgrading Dynatrace to version 8.305 on Android, a version conflict with OkHttp occurs.
In the latest Dynatrace version (8.305), OkHttp is set to version 4.12.0 by default, while the existing project uses version 3.11.0.
As a result, even if the OkHttp version number is modified locally, the build error persists.
Additionally, after investigating the behavior of other versions, it was confirmed that the issue does not occur up to version 8.301 but starts appearing from version 8.303 onward.

I would like to ask if there are any relevant solutions. Alternatively, is it possible to configure the settings to avoid including the latest OkHttp package?

If it was functioning previously but has stopped working, I suggest submitting a support ticket. Meanwhile, you can configure libraries to be excluded from instrumentation.

Hi @sogairyu

You can start reviewing and drilling down into Dynatrace docs:

Hoping it helps.

BR,

Peter