Kotlin Gradle plugin version Update for flutter_launch package

4,534 views
Skip to first unread message

Rana Singha

unread,
Jan 10, 2020, 7:26:35 AM1/10/20
to Flutter Development (flutter-dev)
When I run my flutter application it showing me the following error. I am new to the mobile app development, please help

ERROR:
--------------
* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_launch' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71

Pembe Miriam

unread,
Jan 11, 2020, 1:34:50 PM1/11/20
to Rana Singha, Flutter Development (flutter-dev)
Hello,

I think you should change the kotlin_version to 1.3.10 or a higher version in android/build.gradle file:

buildscript {
    // change here:
    ext.kotlin_version = '1.3.10'
    dependencies {
        // kotlin version is used here:
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/10a3b3da-ae40-4326-a2e9-16063add80b4%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages