flutter_native_timezone icon indicating copy to clipboard operation
flutter_native_timezone copied to clipboard

Fail to Build a Flutter Project with 2.0.0 flutter_native_timezone

Open carlfost opened this issue 2 years ago • 1 comments

It seems like the Flutter_Native_Timezone plugin package needs an kotlin upgrade. I got this build error from my vscode flutter env:

FAILURE: Build failed with an exception.

  • What went wrong: 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 ':flutter_native_timezone' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 8s Exception: Gradle task assembleDebug failed with exit code 1

carlfost avatar Nov 01 '22 17:11 carlfost

Due to lack of maintenance in this repo, I have just published a fork on pub.dev.

There is an open PR in this repository that I should solve your issue and I have cherry-picked that into my fork.

tjarvstrand avatar Nov 08 '22 22:11 tjarvstrand