Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Make it compatible with targetSDK 28+ #53

Open
parikshitsharma717 opened this issue Jun 21, 2020 · 0 comments
Open

Make it compatible with targetSDK 28+ #53

parikshitsharma717 opened this issue Jun 21, 2020 · 0 comments

Comments

@parikshitsharma717
Copy link

parikshitsharma717 commented Jun 21, 2020

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.app.example, PID: 25825
java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed

suggestion : you need to replace canvas.clipPath(path, Region.Op.REPLACE); with canvas.clipPath(path);

optional: try to upgrade it to androidx

@parikshitsharma717 parikshitsharma717 changed the title Make it compatible with targetSDK 29+ Make it compatible with targetSDK 28+ Jun 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant