Your project requires a newer version of the Kotlin Gradle plugin Error-Solved


To solve the "your project requires a newer version of the Kotlin Gradle plugin" error in Flutter, you can follow these steps:


Step 1: Open your Flutter project in a text editor or an integrated development environment (IDE) like Android Studio or Visual Studio Code.

Step 2: Locate the android/build.gradle file in your project directory.

Step 3: Update the Kotlin Gradle plugin version to a newer version


Now the latest version is :

ext.kotlin_version = '1.7.10'

Step 4 : Save the build.gradle file.


After making this change, try running your Flutter app again. The error should no longer appear, and your project should build successfully.

Please note that the specific version numbers mentioned here may be outdated, so make sure to check for the latest version of the Kotlin Gradle plugin.

Description of the image

Related Posts