Skip to content
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

Crash with NotFoundException on the API 16 or lower #584

Open
rezaiyan opened this issue Oct 26, 2019 · 6 comments
Open

Crash with NotFoundException on the API 16 or lower #584

rezaiyan opened this issue Oct 26, 2019 · 6 comments
Labels

Comments

@rezaiyan
Copy link

rezaiyan commented Oct 26, 2019

current behavior
If the option of setToolbarCancelDrawable doesn't set or set with a vector drawable
It will crash on the API 16 or lower

Evidence
com.yalantis.ucrop.UCropActivity}: android.content.res.Resources$NotFoundException: File res/drawable/ucrop_ic_cross.xml from drawable resource ID #0x7f08022d

Version: 2.2.4

Device Info
Name: GT-I8200
Android version: 4.2.2

@rezaiyan rezaiyan changed the title Crash with NotFoundException on the API 16 or before Crash with NotFoundException on the API 16 or lower Oct 26, 2019
@eman1986
Copy link

eman1986 commented Nov 3, 2019

have you upgraded to AndroidX? I believe you need to do that for this library to work. I had a similar issue when I realized I wasn't using AndroidX

@rezaiyan
Copy link
Author

rezaiyan commented Nov 4, 2019

have you upgraded to AndroidX? I believe you need to do that for this library to work. I had a similar issue when I realized I wasn't using AndroidX

Yes, I do.

@kumold
Copy link

kumold commented Nov 18, 2019

Any progress with this issue?

@guiguito
Copy link

asme any progress on the issue ?

@fmeneuhe
Copy link

I have the same problem with Android 4.4, and my project is updated to AndroidX. Is there any solution or work around?

@fmeneuhe
Copy link

fmeneuhe commented Apr 23, 2020

I solved this issue removing from the gradle file:
implementation 'com.github.yalantis:ucrop:2.2.4'

And importing the source code into my project as a module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants