java.util.concurrent.TimeoutException: android.view.ThreadedRenderer.finalize() timed out after 10 s
2017-10-31 20:03
1756 查看
是因为5.0上webView启动硬件加速,可能导致的bug. stackOverFlow查询如下:
activeoldestvotes
32down votefavorite 12 | 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 seconds at 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. ![]() android android-5.0-lollipop
| ||||||||||||||||||||
comments |
2 Answers
activeoldestvotesup vote6down vote | 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); }
|
相关文章推荐
- java.util.concurrent.TimeoutException: android.view.ThreadedRenderer.finalize() timed out after 10 s
- 解决spark程序报错:Caused by: java.util.concurrent.TimeoutException: Futures timed out after [300 seconds]
- Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:错误
- AndroidStudio遇到的java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessExce问题
- Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException
- Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:错误
- java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException 的解决办法之一
- Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
- java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException
- java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException
- java.net.SocketTimeoutException: Read timed out 的解决办法 android平台 腾讯微博开发
- android java.util.ConcurrentModificationException
- java.util.concurrent.Exexcution:com.android.ide.common.process.ProcessException问题解决方案
- java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException
- java.util.ConcurrentModificationException 解决 Android
- Error:java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException
- Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
- Android并发修改异常:java.util.ConcurrentModificationException
- Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:错误
- Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: