-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load sampled bitmap / File is not a picture error #21
Comments
Ok, I will do that, sorry for the hassle 👍 |
I try to use versions 1.1.0 However, it doesn't build and I get the following error message: |
@medroa please use the latest release For next time you can open a new issue or even an Discussion =D |
I have the same problem on Android 10 and 11 when I choose capture image from camera. I figured out the problem was on CropImage#getCaptureImageOurputUri(Context). This method was returned differents files uris in each call for these Android versions. I have created a PR with my correction. Thanks. |
I'm using 1.1.1 version of the library.
I'm getting error:
java.lang.RuntimeException: Failed to load sampled bitmap: content://example.com.example.cropper.fileprovider/my_images/Pictures/pickImageResult2620448784152359897.jpeg
File is not a picture when using CropImage activity.
Error occurs on Android 10 (Nokia 5.3 device) but I have also received error from our users that the same error occurs also on Android 11 devices.
I have previously used ArthurHub / Android-Image-Cropper version of the library and It didn't have this problem on Android 10. Only on Android 11.
Do you have any idea what I'm doing wrong or is there something on the library what should be fixed?
Thanks.
The text was updated successfully, but these errors were encountered: