While Trying to add the android gradle plugin for auto instrumentation in an infra module (framework module)
I got "Extension of type 'AppExtension' does not exist.
I want to add the Dynatrace library in an infra module so I will be able to use it in one place instead of adding code in each flow.
Answer by Thomas W. ·
I'm not familiar with infra modules, but maybe this general information help you.
The Dynatrace Gradle plugin modifies the Android build process and therefore needs the Android Gradle plugin. The extension AppExtension is provided by the Android Gradle plugin.
Possible reasons for your error could be:
* The Android Gradle plugin is not part of the build script
* You are building an Android Library and not an Android App
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Dynatrace 6.5 UEM Instrumentation: Server Side drill to purepath missing in user actions 2 Answers
What the data volume the ADK Agent send to Web Server? 2 Answers
Android Autoinstrumentor - visits not detected 2 Answers
User Actions Not coming in a correct system profile 1 Answer
Hybrid App Manual Instrumentation: Visit is being split into two visits 5 Answers