zsmb13/MaterialDrawerKt

Targeting API 28 results in crash - Invalid Layer Save Flag - only ALL_SAVE_FLAGS is allowed

queiroz opened this issue · 7 comments

    java.lang.IllegalArgumentException: Invalid Layer Save Flag - only ALL_SAVE_FLAGS is allowed
        at android.graphics.Canvas.checkValidSaveFlags(Canvas.java:378)
        at android.graphics.Canvas.saveLayer(Canvas.java:455)
        at com.mikepenz.materialdrawer.view.BezelImageView.onDraw(BezelImageView.java:213)

this is related to issue #2293 of MaterialDrawer.

If I understand correctly, this has been fixed in version 6.0.8 of the base library. This library will be updated to use that version (and therefore fix this) as soon as this other issue is fixed over there.

@zsmb13 awesome, thanks for replying!

@zsmb13 the issue has now been fixed, can you upgrade to 6.0.8?

I'm having some other Gradle related issues now, but it's in progress, I'll have it by the end of the week at the latest. Sorry for the delays.

Finally done, you can go ahead and grab 1.3.5 on jcenter.

where the base library is updated in Android Studio ? help please

upgrading to 6.0.8 is really helped me.. Thanks zsmb13