Skip to content

Crash with NotFoundException on the API 16 or lower #584

@rezaiyan

Description

@rezaiyan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions