singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

fix(example): build failure on Android with latest version of Android Studio Ladybug #2312

Closed EchoEllet closed 1 month ago

EchoEllet commented 1 month ago

Description

Fix build failure when running the Android example.

Updating Android Studio to the latest version (Ladybug 2024.2.1) will cause compilation issues since the minimum Gradle version that supports Java 21 (which is the new bundled JDK with Android Studio) is at least 8.5 or newer, updating Gradle requires updating Android Gradle Plugin and some related build configuration on Android, some plugins do require targeting at least Java 17, also building the app with Java 21 will give you warnings since support for Java 8 has been deprecated and will be removed in future releases. Flutter plugins is currently updating to target Java 11.

video_player causes build failure if warnings are found, updating the minimum version of video_player and video_player_android to fix this issue. Reverted the change, instead developers are required to run flutter pub upgrade

Related Issues

Type of Change