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