‎25 Sep 2024 07:30 AM - edited ‎25 Sep 2024 09:07 AM
Dynatrace support for Android Gradle plugin version 4.x ends in September 2024.
Android support for Android Gradle plugin version 4.x ended already in July 2021.
Dynatrace Android Gradle plugin version 8.301 will be the last version that supports Android Gradle plugin 4.x.
As a result, the Dynatrace Android Gradle plugin will no longer work in an Android app project with Android Gradle plugin 4.x and, therefore, will not auto-instrument classes and fail the build for these projects beginning with version 8.303.
We understand that some applications are built with Android Gradle plugin version 4.x. This includes native apps as well as apps built with cross-platform frameworks such as Cordova (last version 2.301), React Native (last version 2.301) and Flutter (last version 3.301).
For such applications, you can use Dynatrace Android Gradle plugin versions 8.301 and earlier, which remain compatible with Android Gradle plugin version 4.x. To configure this, set a fixed plugin version in your app's Gradle dependencies:
classpath 'com.dynatrace.tools.android:gradle-plugin:8.301.+'
Dynatrace will continue providing security updates and necessary bug fixes during the normal support cycle (up to 12 months).