Home > other >  Kotlin Gradle plugin
Kotlin Gradle plugin

Time:02-08

Hello for every one I have some problems in android sudio

[!] Your project requires a newer version of the Kotlin Gradle plugin. Find the latest version on enter image description here

CodePudding user response:

So this was requirement with the new flutter update. Heres what you need to change. From:

buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        jcenter()
    }

To:

buildscript {
    ext.kotlin_version = '1.6.10'
    repositories {
        google()
        jcenter()
    }

You are simply needing to change the version number to the latest version available on Kotlin's website. Which as of t0day should be what i've put above. Just run flutter clean and flutter pub get after this and youre done.

  •  Tags:  
  • Related