Skip to content

"error with image_cropper-0.0.9" i think you want to update image_cropper version to latest please change it #4

@vitulgoyani

Description

@vitulgoyani

/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.

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions