On this page, you can learn about the supported versions, limitations, troubleshooting resources, and support options for Android.
Requirement
Minimum version
Android API level
21
Gradle
7.0.2
Android Gradle Plugin
7.0
Java
11
Kotlin
2.0.21
Jetpack Compose
1.3 - 1.9
HttpURLConnection and OkHttp (including frameworks that are based on these frameworks) are automatically instrumented; web requests from other frameworks have to be manually instrumented.ws://, wss://) and other non-HTTP protocols require manual instrumentation.The Dynatrace Android Gradle plugin only instruments the AndroidManifest.xml and .class files. It doesn't instrument the following components:
.html and .js are not instrumented..xml files and other resource files are not instrumented.excludes property—with the excludes property of the Android Gradle plugin, you can disable instrumentation for specific classes. This property is similar to the exclude property of the Dynatrace Android Gradle plugin. However, when you use the Dynatrace property, our plugin still instruments some very important classes to ensure that instrumentation is always valid. With the Android excludes property, all the specified classes aren't instrumented, which might negatively affect the instrumentation.OneAgent for Android and its transitive dependencies provide ProGuard rules designed for R8. If you use third-party obfuscation tools instead of R8, you are responsible for configuring them to honor the required keep rules. Failure to do so may result in runtime errors due to incorrectly obfuscated classes.
If you use Android Gradle Plugin features such as ignoreFrom to filter out keep rules from dependencies, be aware that this may affect OneAgent functionality.
For troubleshooting mobile application monitoring issues, refer to the following resources:
You can get support by reporting a bug or asking a question in Dynatrace Community.
To report a bug or open a support case: