

dex bytecode that can be executed in the Android Runtime.

Obfuscations and optimization: The auto-instrumentation process is completed before the R8 Gradle task.Java 8 and Kotlin: The Dynatrace Android Gradle plugin supports the instrumentation of Java 8 and Kotlin classes.By providing support for incremental builds and the build cache, the instrumentation of apps will be almost unnoticed. Performance-wise, bytecode instrumentation is quick and has a low impact on the build time.

It can instrument the source files of all subprojects and third-party libraries. The Dynatrace Android Gradle plugin uses bytecode instrumentation to instrument your app. Java 11+ for Android Gradle plugin version 7.0.0+.Java 8+ for Android Gradle plugin version 4.0.0-4.2.2.The Dynatrace Android Gradle plugin is hosted on Maven Central, and the technical documentation is available as DSL reference. This approach allows the plugin to properly configure the Android subprojects and establish the auto-instrumentation process as part of the Android build process. You should apply the Dynatrace Android Gradle to the top-level build file (either adle or ), which is located in the root project directory. You can use the Dynatrace Android Gradle plugin only for Android projects that use the Android Gradle plugin to build the app.
