flutter_image_cropper icon indicating copy to clipboard operation
flutter_image_cropper copied to clipboard

Deprecated API usage

Open BerlinUkn0w opened this issue 4 years ago • 4 comments

Wonderful plugin :)! I have been getting the following issue today after updating to gradle plugin version 4.0.1 and gradle version 6.5.1 :

C:\flutter.pub-cache\hosted\pub.dartlang.org\image_cropper-1.3.1\android\src\main\java\vn\hunghd\flutter\plugins\imagecropper\FileUtils.java uses or overrides a deprecated API.

Any ideas? Kind regards

BerlinUkn0w avatar Oct 28 '20 18:10 BerlinUkn0w

@hnvn

Me too. Same warning. need help.

xinlangzi avatar Dec 15 '20 03:12 xinlangzi

Facing same issue,

/.pub-cache/hosted/pub.dartlang.org/image_cropper-1.3.1/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/FileUtils.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.  

asadamatic avatar Jan 04 '21 14:01 asadamatic

I dont think its something hnvn can change, since he uses a native librarie.

@hnvn, does this package already use the latest version from uCrop (20. Aug 2020)

M123-dev avatar May 23 '21 15:05 M123-dev

Facing same issue. Can you upgrade the native uCrop activity?

Qwampa avatar May 28 '21 13:05 Qwampa