Datadog uses kotlin.time.Duration in one file in the codebase.
This API is only available from API level 26, as documented here.
Some of our devices are still running on Android 7 (API level 24), so we patched the lib to remove the usage of Duration :

I believe this patch should be made in this repo because the gradle.properties file sets the minSdkVersion to 23, and the fix is easy to integrate.
I would be happy to open a PR if it is ok for you :)
Datadog uses
kotlin.time.Durationin one file in the codebase.This API is only available from API level 26, as documented here.
Some of our devices are still running on Android 7 (API level 24), so we patched the lib to remove the usage of

Duration:I believe this patch should be made in this repo because the
gradle.propertiesfile sets the minSdkVersion to 23, and the fix is easy to integrate.I would be happy to open a PR if it is ok for you :)