question

Yariv H. avatar image
Yariv H. asked ·

Android Auto instrumentation for infra modules

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.

@yosin@matrix.co.il

6.5uemmobile monitoringadkandroidframework
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Thomas W. avatar image
Thomas W. answered ·

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

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.