Reputation: 63
I recently updated android studio to version 3.2. When I tried running my old project, I got the following message for my old project while running grade build:
"The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher.
Project '4thtry' is using version 1.2.50." How to rectify it?
Upvotes: 6
Views: 1527
Reputation: 16976
Go to your root Build.gradle
and update the Kotlin
.
(Better idea): Add the latest version: ext.kotlin_version = '1.2.71'
(or above of 1.2.50
) instead of 1.2.50
then rebuild the project.
So we'll have;
buildscript {
ext.kotlin_version = '1.2.71'
repositories {
..
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
...
}
Upvotes: 4