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

Warning: CropIwaOvalShape: can't find referenced method 'int save(int)' #57

Open
yura-f opened this issue Mar 6, 2019 · 0 comments
Open

Comments

@yura-f
Copy link

yura-f commented Mar 6, 2019

Warning: com.steelkiwi.cropiwa.shape.CropIwaOvalShape: can't find referenced method 'int save(int)' in library class android.graphics.Canvas

A class com.steelkiwi.cropiwa.shape.CropIwaOvalShape, error on 45 line:

canvas.save(Canvas.CLIP_SAVE_FLAG);

CLIP_SAVE_FLAG - cannot resolve symbol

CLIP_SAVE_FLAG has been pruned in P, along with the parametarized save() method.
Source: https://developer.android.com/sdk/api_diff/28/changes/android.graphics.Canvas

As a workaround (proguard):

-dontwarn com.steelkiwi.**
-keep class com.steelkiwi.**
-keep interface com.steelkiwi.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant