Get started with Android monitoring
To monitor your Android app with Dynatrace, you first need to create a mobile application in the Dynatrace web UI and then instrument your actual Android app.
Create a mobile application in Dynatrace
Instrument your Android app
Fine-tune the instrumentation
Create a mobile application in Dynatrace
Before instrumenting your actual Android app, create a mobile application in Dynatrace. You will use this application to monitor and analyze your Android app.
To create a mobile application in the Dynatrace web UI
- In the Dynatrace menu, go to Deploy Dynatrace.
- Scroll down to the Mobile app monitoring section and select Set up mobile monitoring.
- Enter a name for your application and select Create mobile app. The application settings page opens.
Instrument your Android app
When you have a mobile application in Dynatrace, instrument your actual Android app with the Dynatrace Android Gradle plugin or OneAgent SDK for Android.
Dynatrace Android Gradle plugin
To auto-instrument your Android project, use the Dynatrace Android Gradle plugin. It integrates the auto-instrumentation process into your Android build.
OneAgent SDK for Android
If you can't use our plugin due to technical limitations, try standalone manual instrumentation with OneAgent SDK.
Fine-tune the instrumentation
After you've instrumented your Android app, you might want to configure some additional settings:
- Adjust communication with OneAgent SDK for Android
- Configure the auto-instrumentation process
- Create custom actions, report errors, tag specific users, and more using OneAgent SDK for Android
- Enable and configure Session Replay on crashes
- Configure the data privacy settings
- Learn what data Dynatrace captures for your Android app to complete or update the Data safety form in Google Play Console