hnvn / flutter_image_cropper

A Flutter plugin for Android and iOS supports cropping images
996 stars 391 forks source link

Deprecated API usage #214

Open BerlinUkn0w opened 3 years ago

BerlinUkn0w commented 3 years ago

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

xinlangzi commented 3 years ago

@hnvn

Me too. Same warning. need help.

asadamatic commented 3 years ago

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.  
M123-dev commented 3 years ago

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)

Qwampa commented 3 years ago

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