我看到布料中很少发生崩溃,如下所示:
Fatal Exception: java.util.concurrent.TimeoutException: android.text.TextPaint.finalize() timed out after 30 seconds
at android.graphics.Paint.finalizer(Paint.java)
at android.graphics.Paint.finalize(Paint.java:2437)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:202)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
at java.lang.Thread.run(Thread.java:833)
Fatal Exception: java.util.concurrent.TimeoutException: java.io.FileInputStream.finalize() timed out after 10 seconds
at java.io.FileDescriptor.valid(FileDescriptor.java:87)
at libcore.io.IoUtils.close(IoUtils.java:37)
at java.io.FileInputStream.close(FileInputStream.java:121)
at java.io.FileInputStream.finalize(FileInputStream.java:142)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:187)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:170)
at java.lang.Thread.run(Thread.java:856)
我不确定为什么以及我的Android应用的哪些代码导致这些崩溃,我也无法复制它。也许你们有人有类似的问题并解决它?