Crash on Android 6.0 in RippleView.draw()
Today I've installed Android 6.0 (release) and ripple is crashing, here is the stacktrace:
E/AndroidRuntime: java.lang.IllegalStateException: Underflow in restore - more restores than saves E/AndroidRuntime: at android.graphics.Canvas.native_restore(Native Method) E/AndroidRuntime: at android.graphics.Canvas.restore(Canvas.java:540) E/AndroidRuntime: at com.andexert.library.RippleView.draw(RippleView.java:166)
Hi ,
i have the same problem.
Same problem here!
Same for me, unfortunately
I've sent a pull request fixing this issue, I hope the developer accepts it. If anyone is interested I have it in my fork https://github.com/emanzanoaxa/RippleEffect/tree/fix_marshmallow
Thank you @emanzanoaxa! I
Guys,
I don't think the author it's active anymore, can someone publish this project on maven / gradle with this fix
Thanks
+1
@paul321, you can use the jitpack: https://jitpack.io/#emanzanoaxa/RippleEffect/v1.3
@rafalzawadzki Thank you, saved me a lot of trouble by including the source code in the project :)
It's still crashing using this repo, because the fix it's in another branch
You need to use this one
compile 'com.github.emanzanoaxa:RippleEffect:52ea2a0ab6'
@emanzanoaxa : Thank you for the fix! It works :)
i couldn't use @emanzanoaxa's fix, and i dont know why! it seems that it doesn't find it :/
I have the same error and I'm probably gonna switch to a different library.
+1
anything on this? Is this library still supported or better to find some other one?
@emanzanoaxa Thanks!!!
Please see #92. It will be released asap
Thanks very much! @emanzanoaxa
This has very simple solution. Just downgrade your - targetSdkVersion to 22 It works for all versions.