Getting Kotlin version issue while creating release-apk in flutter?

275 views Asked by At

While making flutter release apk its showing an error of

┌─ 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 │
│ D:\Projects\Flutter\Mobile-APP-frontend\android\build.gradle:                                     │
│ ext.kotlin_version = '<latest-version>'       

I have also added the new version of kotlin like 1.9.10 i have gradle of 7.1.2 version

How to solve that, Thank you.

making flutter release apk, but getting kotlin version issue

1

There are 1 answers

7
Jemis Goti On

try ext.kotlin_version = '1.7.10' and gradle 7.3.0. You will be able to generate build using latest flutter sdk.