【发布时间】:2014-05-15 01:00:40
【问题描述】:
我使用 Eclipse 开发 Android App,当我在 logcat 中出现错误时只有信息:
threadid=1: thread exiting with uncaught exception (group=0x40dd8438)
没有堆栈跟踪或任何信息,我的代码有什么问题。
【问题讨论】:
-
要说你的代码有什么问题我们应该先看一下代码
我使用 Eclipse 开发 Android App,当我在 logcat 中出现错误时只有信息:
threadid=1: thread exiting with uncaught exception (group=0x40dd8438)
没有堆栈跟踪或任何信息,我的代码有什么问题。
【问题讨论】:
如果您查看堆栈跟踪,您会看到“Caused by...”行(有时不止一个)。其中最后一个是重要的。 检查您的代码是否正确使用“findviewById”元素,检查所有资源。
【讨论】: