-
Notifications
You must be signed in to change notification settings - Fork 855
Open
Description
Describe your issue. If applicable, add screenshots to help explain your problem.
When compiling an apk with flutter, a deprication warning appears:
fvm flutter build apk
Font asset "FlutterIconsax.ttf" was tree-shaken, reducing it from 670228 to 1204 bytes (99.8% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "lucide.ttf" was tree-shaken, reducing it from 731656 to 33452 bytes (95.4% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 7064 bytes (99.6% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Font asset "CupertinoIcons.ttf" was tree-shaken, reducing it from 257628 to 848 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Note: /home/rand/.pub-cache/hosted/pub.dev/google_mlkit_commons-0.11.0/android/src/main/java/com/google_mlkit_commons/InputImageConverter.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Running Gradle task 'assembleRelease'... 146.4s
✓ Built build/app/outputs/flutter-apk/app-release.apk (114.5MB)
Steps to reproduce.
- Create a new flutter project
- install google_mlkit_commons-0.11.0
- Compile an apk
What is the expected result?
No deprication warnings
Did you try our example app?
No
Is it reproducible in the example app?
No
Reproducible in which OS?
Android
Flutter/Dart Version?
❯ fvm flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.1, on Arch Linux 6.12.57-1-lts, locale
en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[!] Connected device
! No devices available
[✓] Network resources
! Doctor found issues in 1 category.
Plugin Version?
google_mlkit_commons 0.11.0
joatpo-dev and bensonarafat
Metadata
Metadata
Assignees
Labels
No labels