On this page, you can learn about the supported versions, limitations, troubleshooting resources, and support options for Flutter.
| Requirement | Minimum Version |
|---|---|
Flutter | 3.10.0 |
Dart | 3.0.0 |
iOS SDK | 12 |
Android API Level | 21 |
Gradle | 7.0.2 |
Android Gradle Plugin | 7.0 |
Java | 11 |
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).