Instrument Android apps
The process of monitoring the user experience of native mobile apps is different from monitoring browser-based web applications. This is because mobile-app monitoring involves the compilation, packaging, and shipment of a monitoring library along with your own mobile application package.
Starting with OneAgent for Android version 8.261, we ended support for Java 8 for the Dynatrace Android Gradle plugin because Java 11 is required for the latest version of the Android Gradle plugin API.
Starting with OneAgent for Android version 8.245, we ended support for the following versions of Android and Android Gradle plugin:
- Android 4.0.3 - 4.4 (API level 15 - 19)
- Android Gradle plugin 3.1 - 3.6.
After the release, we support the following versions:
- Android 5.0+ (API level 21+)
- Android Gradle plugin 4.0+
To auto-instrument your Android project, use the Dynatrace Android Gradle plugin. If you are unable to use the plugin due to technical limitations, try standalone manual instrumentation.
For technical information and references, check the following pages:
To learn how to monitor Xamarin apps with Dynatrace OneAgent, see Xamarin.
Dynatrace Android Gradle plugin
- Instrumentation via Dynatrace Android Gradle plugin
- Monitoring capabilities of Dynatrace Android Gradle plugin
- Configure Dynatrace Android Gradle plugin for instrumentation processes
- Adjust OneAgent configuration via Dynatrace Android Gradle plugin
- Change Dynatrace Android Gradle plugin configuration based on the project structure