Supported technologiesedit

The Elastic APM Android agent is built on top of the OpenTelemetry Java SDK — extending its functionality while also automatically instrumenting various APIs and frameworks. This section lists all supported technologies.

Android Gradle Plugin versionsedit

Supported versions

>= 7.4.0

Android runtime versionsedit

Supported versions

API >= 24

If your minSdk version is lower than 26, then you must add Java 8+ desugaring support to your application.

Languagesedit

The Java version is for the supported JDK, which is aligned with the JDK version supported by the Android Gradle plugin. The Kotlin version refers to the Kotlin gradle plugin versions, also aligned with the versions supported by the Android Gradle plugin.

Language Supported versions

Java

11

Kotlin

1.5+

UI frameworksedit

Class Notes Since

Activity

Comes from the Android SDK

0.1.0

Fragment

Comes from the Android Jetpack tools

0.1.0

Networking frameworksedit

Distributed tracing will only work if you are using one of the supported networking frameworks.

For the supported HTTP libraries, the agent automatically creates spans for outgoing HTTP requests and propagates tracing headers. The spans are named after the schema <method> <host>, for example GET elastic.co.

Framework Supported versions Note Since

OkHttp

3.11+

OkHttp-managed threads and Kotlin coroutine related calls are automatically traced. Calls from tools using OkHttp (such as Retrofit) are automatically traced as well.

0.1.0