# dt-setup-android

> Claude/Codex skill by [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars · Updated 2026-10-23

Instruments an existing Android project (Kotlin or Java) with the Dynatrace Mobile Agent for basic monitoring. Covers zero-to-first-event setup only: Gradle plugin, agent config, and user privacy opt-in. Do not use for advanced Dynatrace configuration beyond initial instrumentation.

Tags: agent-skills, ai-agents, claude-code, devops, dql, dynatrace, mcp, observability

## Install

```sh
git clone https://github.com/Dynatrace/dynatrace-for-ai /tmp/dynatrace-for-ai && ln -s /tmp/dynatrace-for-ai/skills/dt-setup-android ~/.claude/skills/dt-setup-android
```

## From README

Android Dynatrace Instrumentation Scope: Basic only — from zero to first event. For anything beyond initial instrumentation (custom actions, crash grouping, data privacy policies, etc.) refer to the Dynatrace documentation directly. Phase 1: Preflight Before doing anything else, check that the current directory is an Android project root by looking for settings.gradle.kts or settings.gradle. If neither exists, stop and tell the user this is not an Android project root, and ask them to navigate to the correct directory. Then verify the following minimum requirements. If any are not met, stop and inform the user of what needs to be upgraded before proceeding: | Requirement | Minimum | | --------------------------- | ------- | | Gradle | 7.0.2 | | Android Gradle Plugin (AGP) | 7.0 | | JVM | Java 11 | Run ./gradlew --version (or gradlew.bat --version on Windows).

## Links

- HTML page: https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-setup-android/
- GitHub: https://github.com/Dynatrace/dynatrace-for-ai
- Author: [@dynatrace](https://omgskills.com/library/dynatrace/index.md)

## More from this repo

- [dt-obs-analytics](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-analytics/index.md) — Used to analyze dashboards and notebooks using Davis analyzers — anomaly detection, novelty scoring, and correlation.
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
- [dt-obs-compliance-assistant](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-compliance-assistant/index.md) — Used to monitor and investigate EU DORA compliance posture using Dynatrace Compliance Assistant.
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
- [dt-obs-ext-monitors](https://omgskills.com/library/dynatrace/dynatrace-for-ai/skills/dt-obs-ext-monitors/index.md) — 3rd-party test and monitor result ingestion into Dynatrace Grail via the platform events ingest API...
   - [@dynatrace](https://omgskills.com/library/dynatrace/index.md) · 167 stars
