Open nobodyyu opened 11 months ago
I have the same error.. do you have any fixes for it?
Hello,
In my case, the error was:
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
It seems to show up when I added the device_calendar dependency in the pubspec.yaml
I read the section 'Timezone support with TZDateTime', maybe it is related to that point...
... the same question: do you have any fixes for it?
EDIT: by the way, the kotlin version used in the project is 1.8.0, and I added the dependency 'flutter_native_timezone' in the pubspec.yaml as well.
I have the same error. Are there any workarounds?
same error. i found, this can be replaced with "flutter_timezone", because the "flutter_native_timezone" package hasn't been maintained for two years.
so can you fix this?
I have the same error.. Hope to get the author's support
I replaced the flutter_native_timezone with flutter_timezone in the pubspec.yaml file and replace the import of the package, as well as any methods from the one to the other, and then I was up running again.
Run a
flutter doctor
so we can rule out env issues[✓] Flutter (Channel stable, 3.10.6, on macOS 14.0 23A5301h darwin-arm64, locale zh-Hant-TW) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.1) [✓] IntelliJ IDEA Ultimate Edition (version 2023.1) [✓] VS Code (version 1.80.2) [✓] Connected device (4 available) [✓] Network resources