Reputation: 11
I just upgrade Android studio to the last version (3.2.1) and an issue occurred while charging my project. The Kotlin Gradle plugin seems to be incompatible with the current Android Gradle plugin version, or something like that.
Here's the message displayed:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'Projetpelican' is using version 1.2.41.
I can't find any satisfying answer on the web so please enlight me with your knowledge.
PS. A similar topic had already been created but it does not fully answer the question...
Upvotes: 1
Views: 1243
Reputation: 367
in your build gradle change 1.2.41 to following
buildscript {
ext {
kotlin_version = '1.3.10'
I hope this help you
Upvotes: 3
Reputation: 17824
Update your Kotlin version.
Under your project-level build.gradle
(the one outside of the app
folder), find the ext.kotlin_version
variable and set it to '1.3.11'
.
When maintaining an Android project, you need to keep an eye out for yellow-highlighted dependencies. Android Studio doesn't update them for you.
Upvotes: -1