Google Play Mobile Deployment fails: Maps dependency uses Kotlin metadata 2.3.0, FlutterFlow compiler expects 2.1.0

Database & APIs

Deploying to Google Play via Mobile Deployment fails consistently at the "Build AAB with Flutter" step. Package: com.vaybu.app

Full error:

Execution failed for task ':google_maps_flutter_android:compileReleaseKotlin'.

> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

> Internal compiler error. See log for more details

e: file:///home/builder/.gradle/caches/8.12/transforms/[...]/jetified-android-maps-utils-4.1.0-api.jar!/META-INF/library_release.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.

e: file:///home/builder/.gradle/caches/8.12/transforms/[...]/jetified-kotlin-stdlib-2.3.10.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.3.0, expected version is 2.1.0.

FAILURE: Build failed with an exception.

BUILD FAILED in 4m 44s

Running Gradle task 'bundleRelease'... 285.1s

Flutter's own suggested fix:

[!] Your project requires a newer version of the Kotlin Gradle plugin.

Update the version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of /home/builder/clone/android/settings.gradle.

Alternatively, update /home/builder/clone/android/build.gradle: ext.kotlin_version = '<latest-version>'

I don't have direct access to edit android/settings.gradle or android/build.gradle through the FlutterFlow UI, so I can't apply Flutter's own suggested fix myself.

Expected behavior: the app should build and deploy to Google Play's Internal Testing track successfully.

Questions for the team:

- Did you recently upgrade google_maps_flutter_android or android-maps-utils in the build image without upgrading the Kotlin Gradle plugin to match?

- Can you confirm the current Kotlin Gradle plugin version used in the Google Play build image?

- Is this a known/tracked regression? There's a similar community report from about 2 months ago ("Latest FF and Flutter version gives Kotlin version errors") with the same "compiled with an incompatible version of Kotlin... 2.3.0... expected... 2.1.0" signature, on a different package.

Package name: com.vaybu.app

What have you tried so far?

Attempted three different dependency configurations in Project Setup > Project Dependencies, all producing the identical failure: 1. No custom pin on google_maps_flutter_android (default resolution) โ€” failed. 2. Pinned google_maps_flutter to ^2.18.0 as a Custom Pub Dependency โ€” failed identically, still resolved to google_maps_flutter_android 2.19.10. 3. Pinned google_maps_flutter_android directly to ^2.19.12 as its own Custom Pub Dependency โ€” failed identically. Since changing package versions had zero effect on the outcome, this points to a mismatch between the Kotlin Gradle plugin version in FlutterFlow's managed Android build image (2.1.0) and the Kotlin metadata version of dependencies it's resolving (2.3.0) โ€” not something fixable from the Dart dependency list alone.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
4 replies