traex / RippleEffect

Implementation of Ripple effect from Material Design for Android API 9+
MIT License
4.93k stars 1.08k forks source link

when run the app in android 6.0, the app crash #109

Open zhonghanwen opened 8 years ago

zhonghanwen commented 8 years ago

image

king163 commented 8 years ago

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

zhonghanwen commented 8 years ago

@king163 I'm going to remove this widget~

y3k4 commented 8 years ago

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

thanx

cocoBavan commented 8 years ago

Same issue here.

Alan-li commented 8 years ago

Same issue here.

essare commented 8 years ago

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

jgutierrez11 commented 8 years ago

+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.

juliusmh commented 8 years ago

+1 gonna remove the lib

Konraddd commented 8 years ago

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

monowar1993 commented 8 years ago

same issue faced. Need a solution

cloudshooterhuman commented 8 years ago

same here

monowar1993 commented 8 years ago

@traex please have look at this issue. thanks

hcmyleo commented 8 years ago

crash problem
reason: canvas.restore();

。。。。。

cvisoa commented 8 years ago

+1same issue here

monowar1993 commented 8 years ago

is the issue is solved yet?

pishguy commented 8 years ago

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

ruijun commented 8 years ago

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

The crash is be solved.

csdaba1583 commented 8 years ago

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

Xaus commented 7 years ago

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

patrickpissurno commented 7 years ago

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