Open phluidaungyezaw opened 1 month ago
Facing the same problem . And I'm sure that the problem is with the package . Without this package, the build completes perfectly...
The issue is this package is very out of date. As a quick solution, you can go to where your dependency is hosted.
Thanks a lot . It worked...
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.6.1 23G93 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.92.1) [✓] Connected device (4 available) [✓] Network resources
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
What went wrong: Execution failed for task ':gallery_saver:verifyReleaseResources'.
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 1m 34s Running Gradle task 'assembleRelease'... 95.2s
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ │ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then update the │ │ version number of the plugin with id "org.jetbrains.kotlin.android" in the plugins block of │ │ /Users//android/settings.gradle. │ │ │ │ Alternatively (if your project was created before Flutter 3.19), update │ │ /Users//android/build.gradle │ │ ext.kotlin_version = '' │
└────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Gradle task assembleRelease failed with exit code 1