Flutter is evolving rapidly, and so is our SDK. With each new Flutter release, we strive to maintain compatibility and deliver a smooth integration experience.
Because Flutter versions often ship between our release cycles, each new release of our package is built and certified against the latest Flutter version available at that time. When Flutter introduces a new version between our releases, we’ll share guidance on compatibility with our most recent SDK.
Although we have not completed full certification across all supported devices, our high-level testing confirms that the 200.8.0 release works with Flutter 3.41.1 and later.
This post highlights key compatibility considerations and dependency requirements for supporting our SDK on Flutter 3.41.x.
You may encounter this error on trying to run your project with Flutter 3.41.x:
Dependency 'androidx.browser:browser:1.9.0' requires Android Gradle plugin 8.9.1 or higher.
....
Dependency 'androidx.core:core-ktx:1.17.0' requires Android Gradle plugin 8.9.1 or higher.
...
Dependency 'androidx.core:core:1.17.0' requires Android Gradle plugin 8.9.1 or higher.
How to fix this issue
Upgrade the AGP
Update your Android project to use AGP 8.9.1 or newer.
In settings.gradle.kts update com.android.application to 8.9.1.
You may encounter this error on trying to run your project with Flutter 3.41.x:
> Failed to apply plugin 'com.android.internal.version-check'.
> Minimum supported Gradle version is 8.11.1.
How to fix this issue
Update Gradle
Update your Android project to use Gradle 8.11.1 or newer.
In gradle-wrapper.properties update the gradle distribution version to 8.11.1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.