开发者

Errors in Android app

开发者 https://www.devze.com 2023-02-18 23:48 出处:网络
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 c

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

精彩评论

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

关注公众号