-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
When Building against API 28, Proguard Error is observed #921
Comments
The issue is caused by this line:
src: https://developer.android.com/sdk/api_diff/28/changes/android.graphics.Canvas |
I have a (not very pretty due to reflection) fix here: #922 |
As a workaround, this works for me.
|
Sorry for ignorant question but where do I put this? In build.gradle? Thanks! |
Put it in your proguard file |
I'm curious if anyone else has had luck with quick workarounds while trying to move off of this unmaintained library. |
The proguard stuff is for the save method, not CLIP_SAVE_FLAG. It's gone, you need to find an alternative. Read this stack overflow https://stackoverflow.com/questions/54148443/can-not-find-canvas-variables-in-api-level-28 |
This quick workaround worked for me: |
When building against API 28 (targetSDK and compileSDK), the following proguard error is observed.
Warning: com.sothree.slidinguppanel.SlidingUpPanelLayout: can't find referenced method 'int save(int)' in library class android.graphics.Canvas
The text was updated successfully, but these errors were encountered: