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Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β β