Flutter Error – Project require a newer version of kotlin Gradle plugin

Posted by

Error

[!] Your project requires a newer version of the Kotlin Gradle plugin.                       │
│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then │
│ update C:\Users\dharm\AndroidStudioProjects\mhn_app_doctor\android\build.gradle:             │
│ ext.kotlin_version = '<latest-version>'  

Solution:

Update Flutter Kotlin version to latest

To solve “newer version of kotlin gradle plugin”, Simple you need to update kotlin version i.e ext.kotlin_version.

Navigate to Project > android > build.gradle

The current latest version at the time of this article is 1.6.10, It will change in future. So to get the updated latest version of kotlin gradle plugin kindly visit official site

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x