【发布时间】:2018-01-11 03:28:55
【问题描述】:
在 HTC D820U 中调试,发现 StackOverflowError。 设备:HTC D820u,Android 6.0,HTC 版本:1.0.0.D820u 查看日志:
01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport: java.lang.StackOverflowError:堆栈大小 8MB 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:42) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.j 01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport:
++++++++++++++++++++++++++++++++++++++++++++
关于日志,我的应用没有崩溃。 这是Android错误吗?还是HTC Rom bug?
【问题讨论】:
-
在 Nexus 5 上相同。看起来这是 android profiler 错误。您可以通过在运行配置中禁用高级分析来修复它。
-
@ookami.kb 为什么不将此作为答案发布,它是 100% 正确的。 :)
-
@ubuntudroid 已修复 :)
标签: android