android_long_task icon indicating copy to clipboard operation
android_long_task copied to clipboard

Flutter 3.13.9 Old Kotlin version breaks build process

Open robinduerhager opened this issue 1 year ago • 0 comments

Hi,

i received the following error in my Flutter 3.13.9 project:

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':android_long_task' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

I fixed the Error by adjusting the Kotlin Version. I will submit a PR :). In the meantime, if anyone suffers from this error, you might be able to get around this by using the following in your pubspec.yaml file:

  android_long_task:
    git:
      url: 'https://github.com/robinduerhager/android_long_task.git'
      ref: '3f90808ff72e6bead9b77de4655f9439c4b82482'

robinduerhager avatar Nov 20 '23 17:11 robinduerhager