Warning: CropIwaOvalShape: can't find referenced method 'int save(int)'
yura-f opened this issue · comments
Yura F commented
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.**