Latest FF and Flutter version gives Kotlin version errors

Integrations

I cant release to google store as it gives an error stating Kotlin version as the issue. current version i see is 2.1.0, My FF is upgraded to V6.6.103+ and FLutter version is 3.38.5 . This was working 1 week ago and I could release to store....Errors below:

file:///home/builder/.gradle/caches/8.12/transforms/8ef408260b5d93a86b74a2ace3bdf0fb/transformed/jetified-kotlin-stdlib-2.3.21.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.

e: file:///home/builder/.gradle/caches/8.12/transforms/8ef408260b5d93a86b74a2ace3bdf0fb/transformed/jetified-kotlin-stdlib-2.3.21.jar!/META-INF/kotlin-stdlib-jdk8.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/8ef408260b5d93a86b74a2ace3bdf0fb/transformed/jetified-kotlin-stdlib-2.3.21.jar!/META-INF/kotlin-stdlib.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.

* What went wrong:

Execution failed for task ':screen_brightness_android:compileReleaseKotlin'.

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

Β  Β > Internal compiler error. See log for more details

* Try:

> Run with --stacktrace option to get the stack trace.

> Run with --info or --debug option to get more log output.

> Run with --scan to get full insights.

> Get more help at https://help.gradle.org.

BUILD FAILED in 6m 49s

Running Gradle task 'bundleRelease'...Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  410.3s

β”Œβ”€ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐

β”‚ [!] Your project requires a newer version of the Kotlin Gradle plugin.Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β β”‚

β”‚ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, thenΒ  Β β”‚

β”‚ 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 (if your project was created before Flutter 3.19), updateΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  β”‚

β”‚ /home/builder/clone/android/build.gradleΒ  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β β”‚

β”‚ ext.kotlin_version = '<latest-version>'Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Gradle task bundleRelease failed with exit code 1


What have you tried so far?

upgraded screen brightness to 2.1.8

Did you check FlutterFlow's Documentation for this topic?
No
2