/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:8: error: package android.support.annotation does not exist
import android.support.annotation.ColorInt;
^
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:110: error: cannot find symbol
private int darkenColor(@ColorInt int color) {
^
symbol: class ColorInt
location: class ImageCropperDelegate
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:109: error: cannot find symbol
@ColorInt
^
symbol: class ColorInt
location: class ImageCropperDelegate
3 errors
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':image_cropper:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:8: error: package android.support.annotation does not exist import android.support.annotation.ColorInt; ^ /Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:110: error: cannot find symbol private int darkenColor(@ColorInt int color) { ^ symbol: class ColorInt location: class ImageCropperDelegate /Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:109: error: cannot find symbol @ColorInt ^ symbol: class ColorInt location: class ImageCropperDelegate 3 errors
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':image_cropper:compileDebugJavaWithJavac'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 7s
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app. See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1