To monitor your Android app, you first need to create a mobile application in Dynatrace and then instrument your actual Android app.
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 Dynatrace
When you have a mobile application in Dynatrace, instrument your actual Android app with the Dynatrace Android Gradle plugin or OneAgent SDK for Android.
To auto-instrument your Android project, use the Dynatrace Android Gradle plugin. It integrates the auto-instrumentation process into your Android build.
If you can't use our plugin due to technical limitations, try standalone manual instrumentation with OneAgent SDK.
After you've instrumented your Android app, you might want to configure some additional settings:
The mobile instrumentation wizard in Dynatrace provides you with get-started instructions on instrumenting your mobile applications. The wizard also contains code snippets with your application identification keys that you'll need to add to your project's build file. The application identification keys—applicationId
and beaconUrl
—are required so that your application can send monitoring data to Dynatrace.