Open dipinsonwani opened 1 week ago
@dipinsonwani can you please refer this below mentioned link?
I hope it might be helpful for you!!
Execution failed for task ':shared_storage:compileReleaseKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlin' (17).
I believe we would have to replace this package. As this library seems to be discontinued. https://pub.dev/packages/shared_storage
@dipinsonwani in pubspec.yaml add like this shared_storage git: url:https://github.com/alexrintt/shared-storage
After that run pub get then save and run the apk.
Describe the bug Build fails due to compilation error with gradle
To Reproduce Steps to reproduce the behavior:
flutter build apk
Expected behavior Should build the app and export the apk
Screenshots
Additional context
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0 24A335 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 16.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.93.1) [✓] Connected device (3 available)