On this page, you can learn about the supported versions, limitations, troubleshooting resources, and support options for Flutter.
| Requirement | Minimum Version |
|---|---|
Flutter | 3.24.0 |
Dart | 3.0.0 |
iOS SDK | 15 |
Android API Level | 23 |
Gradle | 8.14.x |
Android Gradle Plugin | 8.1.1 |
Java | 17 |
Auto-instrumentation adds OneAgent to your app binary. The following table shows the size impact on release builds:
| Platform | Flutter version | Size before | Size after | Difference |
|---|---|---|---|---|
Android | 3.19.2 | 7.1 MB | 7.2 MB | +0.1 MB |
iOS | 3.19.2 | 16.8 MB | 21.1 MB | +4.3 MB |
dynatrace.config.yaml is in your project root and contains valid applicationId and beaconUrl values.dart run dynatrace_flutter_plugin after any configuration changes.Dynatrace().start() is called in your main() function.Error: Could not find com.dynatrace.tools.android:gradle-plugin:X.X.X.
Solution: add mavenCentral() to all repository blocks in your top-level build.gradle file:
buildscript {repositories {google()mavenCentral()}}allprojects {repositories {google()mavenCentral()}}
Error: OneAgent SDK version X does not match Dynatrace Android Gradle plugin version X.
Solution: run dart run dynatrace_flutter_plugin to update the Gradle dependencies after upgrading the Flutter plugin.
Issue: changes to dynatrace.config.yaml don't take effect.
Solution: you must run dart run dynatrace_flutter_plugin after every configuration change. This command updates the native Android and iOS project files.
To report a bug or open a support case:
dynatrace.config.yaml file (with sensitive data redacted).flutter --version).