-
Notifications
You must be signed in to change notification settings - Fork 866
Android Cannot Compile Flutter - Flutter version 3.41.4 #850
Description
Describe your issue. If applicable, add screenshots to help explain your problem.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/simeonangelov/.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.
/Users/simeonangelov/.pub-cache/hosted/pub.dev/google_mlkit_object_detection-0.15.1/android/src/main/java/com/google_mlkit_object_detection/ObjectDetector.java:99: error: cannot find symbol
new GenericModelManager.CheckModelIsDownloadedCallback() {
^
symbol: class CheckModelIsDownloadedCallback
location: class GenericModelManager
/Users/simeonangelov/.pub-cache/hosted/pub.dev/google_mlkit_object_detection-0.15.1/android/src/main/java/com/google_mlkit_object_detection/ObjectDetector.java:100: error: method does not override or implement a method from a supertype
@OverRide
^
/Users/simeonangelov/.pub-cache/hosted/pub.dev/google_mlkit_object_detection-0.15.1/android/src/main/java/com/google_mlkit_object_detection/ObjectDetector.java:123: error: method does not override or implement a method from a supertype
@OverRide
^
3 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':google_mlkit_object_detection:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.
- Try:
Run with --info option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 26s
Steps to reproduce.
- Update flutter to 3.41.4
- Run command - flutter build app bundle
What is the expected result?
To create android bundle
Did you try our example app?
No
Is it reproducible in the example app?
Yes
Reproducible in which OS?
Android
Flutter/Dart Version?
3.41.4
Plugin Version?
google_mlkit_object_detection: ^0.15.0