# Plugin with id 'com.dynatrace.intrumentation' not found

**URL:** <https://community.dynatrace.com/t/plugin-with-id-com-dynatrace-intrumentation-not-found/50707>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring\
**Created:** [March 13, 2025, 5:07pm UTC](https://community.dynatrace.com/t/plugin-with-id-com-dynatrace-intrumentation-not-found/50707 "2025-03-13T17:07:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMCH](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@SMCH](https://community.dynatrace.com/u/SMCH)\
**Post date:** [March 13, 2025, 5:07pm UTC](https://community.dynatrace.com/t/plugin-with-id-com-dynatrace-intrumentation-not-found/50707/1 "2025-03-13T17:07:11Z")

</div>

```auto
// Top-level build file where you can add configuration options common to all sub-projects/modules.

    buildscript {

        repositories {
            google()
            mavenCentral()
            flatDir {
                dirs 'libs'
            }
        }

        dependencies {
            classpath 'com.android.tools.build:gradle:8.3.1'
            classpath 'com.dynatrace.tools.android:gradle-plugin:8.+'
        }
    }

plugins {
    id 'com.android.application' version '8.3.1' apply false
    id 'com.android.library' version '8.3.1' apply false
    id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
    id 'com.dynatrace.instrumentation' version '8+' apply true
}

                    apply plugin: 'com.dynatrace.intrumentation'
                    dynatrace {
                    configurations {
                        mainConfig {
                            autoStart {
                                applicationId 'xxx'
                                beaconUrl 'xxx'
                            }
                            userOptIn false
                            agentBehavior.startupLoadBalancing true
                            sessionReplay.enabled false
                        }
                    }
                }

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

tasks.register('clean', Delete) {
    delete rootProject.buildDir
}

```

 ![Screenshot 2025-03-13 at 10.06.20 AM.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/6/c60a27bba378a3bc72f65c94254d4504c6119d6f.png)

---

<div class="post-metadata">

**Author:** ![Thomas\_Wirth1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/thomas_wirth1/32/1776_2.png) [@Thomas\_Wirth1](https://community.dynatrace.com/u/Thomas_Wirth1)\
**Post date:** [March 14, 2025, 9:08am UTC](https://community.dynatrace.com/t/plugin-with-id-com-dynatrace-intrumentation-not-found/50707/2 "2025-03-14T09:08:47Z")

</div>

You have a typo in the apply statement. The “s” is missing in “instrumentation”

```java
apply plugin: 'com.dynatrace.instrumentation'

```

You are also adding the plugin two times: Via the “plugins” block and via the apply statement.  
I would recommend to only add the Dynatrace Android Gradle plugin once. You can either use

```java
plugins {
    id 'com.dynatrace.instrumentation' version '8.+'
}

```

or

```java
buildscript {
...
    dependencies {
        classpath 'com.dynatrace.tools.android:gradle-plugin:8.+'
    }
}

apply plugin: 'com.dynatrace.instrumentation'

```
