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 SDK for Android version 8.245, we're ending support for the following versions of Android and Gradle plugin:
- Android 4.0.3 - 4.4 (API level 15 - 19)
- Android Gradle plugin 3.1 - 3.6.
After the release, we'll 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 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