java.util.concurrent.TimeoutException: android.view.ThreadedRenderer.finalize() timed out after 10 s
来源:互联网 发布:大型网络3d手游2016年人气 编辑:程序博客网 时间:2024/06/02 20:04
32down votefavorite
I am getting this strange crash reports on Lollipop. My app is basically a browser so it makes heavy use of the WebView but I don't know that the issue is happening there. Anyways the crash report doesn't give much useful information, it is essentially what I am pasting below:
java.util.concurrent.TimeoutException: android.view.ThreadedRenderer.finalize() timed out after 10 secondsat android.view.ThreadedRenderer.nDeleteProxy(Native Method)at android.view.ThreadedRenderer.finalize(ThreadedRenderer.java:398)at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:190)at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:173)at java.lang.Thread.run(Thread.java:818)
Has anyone seen this? any idea what might be causing it?
EDIT: I should mention that this is happening on an app which I've had for about 10 months and it has always only targeted 4.0+ devices. The bug is only being reported on 5.0 devices and that stacktrace above is all the Play Store Console gives me.
2 Answers
Since KitKat, I have issues with WebViews
(freeze, crash)
I have resolved these issues deactivating hardware acceleration for webViews
. It could work for you.
if (Build.VERSION.SDK_INT >= 19) // KITKAT{ webView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);}
android:hardwareAccelerated
set totrue
? – ToYonos Dec 5 '14 at 11:37nDeleteProxy()
method to hang. If you wind up being able to reproduce the bug at some point, upload a test project as part of an issue to b.android.com. – CommonsWare Dec 8 '14 at 0:58WebView
– Choletski Dec 12 '16 at 12:57