当你在Flutter项目中遇到“your project requires a newer version of the kotlin gradle plugin”的错误时,这通常意味着你的项目中所依赖的Kotlin插件版本过旧,需要升级到较新的版本来匹配当前的Gradle或Kotlin版本。以下是根据你提供的提示,逐步解决这个问题的步骤: 1. 确认项目当前使用的Kotlin Gradle插件版本 首先...
2.修改android-settings.gradle plugins { // id "dev.flutter.flutter-plugin-loader" version "1.0.0" // id "com.android.application" version "7.3.0" apply false // id "org.jetbrains.kotlin.android" version "1.7.10" apply false //修改为 id "dev.flutter.flutter-plugin-loader" version "1....
│ [!] 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 D:\LaptopBackup\Project\Flutter\e_shop\android\build.gradle: │ │ ext.kotlin_version = '<latest-version>'...
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version onhttps://kotlinlang.org/docs/releases.html#release-details, then update /home/emp-hr-0029/senbagam_paints-playstore-/android/build.gradle: │ │ ext.kotlin_version = '' │ └──...
My flutter application build apk file smoothly on emulator . But when I build apk file , it showed that it requires a newer version of the Kotlin Gradle plugin. Then I updated it to the latest version, I still get the same error. Flutter version is 3.24.3 ...
在维护项目的时候,我们可能会将旧的项目导入编译器中,没有错误提示。但是当我们编译运行到手机上的时候,可能会出现以下的问题: ┌─FlutterFix ───────────────────────────-────────┐ │[!]Yourproject requires a newer version of theKotlinGradleplugin.│Findthe...
The Error When trying to start a Flutter project with an Android emulator, I ran into the following issue: Your project requires a newer version of the Kotlin Gradle plugin This project was created months ago. Here’s the detailed error message: BUILD FAILED in 1m 2s Running Gradle task ...
If you are getting "your project requires a newer version of the kotlin gradle plugin" error while running your Flutter app, see the solution below to solve this error in Flutter. This error occurs, when you have an older version of kotlin at build.gradle. ...
问题: The current Gradle version 5.6.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.1.1 or newer, or the previous version of the
25): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15. The class is loaded from C:/Users/Moe/.gradle/caches/transforms-2/files-2.1/9505d98055e32adad7f90e3f70e20332/jetified-kotlin-stdlib-1.5...