Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Kotlin plugin version too old. #22

Open
heemoe opened this issue Mar 15, 2022 · 3 comments
Open

Kotlin plugin version too old. #22

heemoe opened this issue Mar 15, 2022 · 3 comments

Comments

@heemoe
Copy link

heemoe commented Mar 15, 2022

Hi guys,
My project updated to the latest version of Flutter, but got an error when build.

┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐
│ [!] 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 /Users/trz/StudioProjects/my_project/android/build.gradle:                          │
│ ext.kotlin_version = '<latest-version>'                                                      │
└──────────────────────────────────────────────────────────────────────────────────────────────┘

flutter version:

Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (13 days ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2
@LeonardoRosaa
Copy link
Collaborator

This warning happens because your project is not updated. Please, try update to fix that.

Please, let's me know if doesn't works or I'm wrong.

@heemoe
Copy link
Author

heemoe commented Mar 21, 2022

This warning happens because your project is not updated. Please, try update to fix that.

Please, let's me know if doesn't works or I'm wrong.

Actually, Fixed by updating this repo's kotlin plugin version. ext.kotlin_version = '1.6.10' is working fine for me.

ext.kotlin_version = '1.3.50'

@heemoe heemoe changed the title Kotlint plugin version too old. Kotlin plugin version too old. Mar 21, 2022
@Nei1eveN
Copy link

Any update on this? Can this be applied through a pull request?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants