RippleEffect icon indicating copy to clipboard operation
RippleEffect copied to clipboard

when run the app in android 6.0, the app crash

Open zhonghanwen opened this issue 8 years ago • 20 comments

image

zhonghanwen avatar May 30 '16 10:05 zhonghanwen

Yes, I got the same error too in android 6.0. So I have to move this widget from my app

king163 avatar May 31 '16 01:05 king163

@king163 I'm going to remove this widget~

zhonghanwen avatar May 31 '16 01:05 zhonghanwen

Got same issue in marshmallow, @traex could you check this pull request ? https://github.com/traex/RippleEffect/pull/101

thanx

y3k4 avatar Jun 04 '16 10:06 y3k4

Same issue here.

cocoBavan avatar Jun 09 '16 00:06 cocoBavan

Same issue here.

Alan-li avatar Jun 17 '16 10:06 Alan-li

Same error here too at android.graphics.Canvas.restore(Canvas.java:540) i want to remove line 166 in RippleView.java : canvas.restore(); too try what will happen but couldn't edit it because RippleView.java is locked !!! what to do

essare avatar Jun 20 '16 22:06 essare

+1 I have this error crash too =[

java.lang.IllegalStateException: Underflow in restore - more restores than saves at android.graphics.Canvas.native_restore(Native Method) at android.graphics.Canvas.restore(Canvas.java:571)

Since this is a known bug with 1 month old I will need to remove this lib from my app.

jgutierrez11 avatar Jun 28 '16 21:06 jgutierrez11

+1 gonna remove the lib

juliusmh avatar Jul 09 '16 15:07 juliusmh

+1, any fixes? I'm getting the crash on Android 7.0 Nougat Preview

Konraddd avatar Jul 11 '16 16:07 Konraddd

same issue faced. Need a solution

monowar1993 avatar Jul 16 '16 05:07 monowar1993

same here

cloudshooterhuman avatar Jul 26 '16 11:07 cloudshooterhuman

@traex please have look at this issue. thanks

monowar1993 avatar Jul 28 '16 05:07 monowar1993

crash problem
reason: canvas.restore();

。。。。。

hcmyleo avatar Aug 23 '16 06:08 hcmyleo

+1same issue here

cvisoa avatar Aug 27 '16 10:08 cvisoa

is the issue is solved yet?

monowar1993 avatar Aug 27 '16 18:08 monowar1993

@monowar1993 i think no, i have same problem on android 6.0.1

pishguy avatar Aug 30 '16 06:08 pishguy

see this commit : https://github.com/traex/RippleEffect/commit/df5f9e4456eae8a8e98e2827a3c6f9e7185596e1

The crash is be solved.

ruijun avatar Sep 01 '16 06:09 ruijun

In the crash, modified as follows: canvas.save();
canvas.restore();

csdaba1583 avatar Oct 14 '16 09:10 csdaba1583

i've got the same issue and i removed it hope to solve this problem

Xaus avatar Nov 24 '16 12:11 Xaus

Hey, I just released a fix. Check it out: https://github.com/patrickpissurno/RippleEffect/

patrickpissurno avatar Jan 25 '17 17:01 patrickpissurno