标签:
http://androidren.com/index.php?qa=319&qa_1=stackoverflowerror-fivehundredpx-android-blurringview
当使用500px的BlurringView时,如果把BlurringView放到Blurred view的子View级别,那么就会发生栈溢出错误。
解决办法就是将Blurred view放在同级别。
错误信息如下:
05-12 20:23:04.652 14021-14021/com.forlong401.xxx E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.forlong401.xxx, PID: 14021
java.lang.StackOverflowError
at com.fivehundredpx.android.blur.BlurringView.prepare(BlurringView.java:126)
at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:78)
at android.view.View.draw(View.java:14467)
at android.view.View.draw(View.java:14352)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14470)
at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:88)
at android.view.View.draw(View.java:14467)
at android.view.View.draw(View.java:14352)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14470)
at com.fivehundredpx.android.blur.BlurringView.onDraw(BlurringView.java:88)
at android.view.View.draw(View.java:14467)
at android.view.View.draw(View.java:14352)
at android.view.ViewGroup.drawChild(ViewGroup.java:3103)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
at android.view.View.draw(View.java:14470)
java.lang.StackOverflowError at com.fivehundredpx.android.blur.BlurringView
标签:
原文地址:http://blog.csdn.net/forlong401/article/details/45674617