开发者

Errors in Android app

How can I see the errors occurred in my code? I am working in Eclipse.

How to check what has caused the error when an applicat开发者_C百科ion is stopped or asked to be force closed in emulator?


You could check the ouput of the LogCat.

There's a corresponding View, which can be opened by choosing :

Window > Show View > Other > Android > LogCat

Generally speaking, when an error occurs, a stack-trace will be displayed in the LogCat, giving you some informations about that error.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜