how to view the error stack trace in android?

好久不见. 提交于 2020-01-21 11:43:29

问题


Can someone tell me clearly from where i can view the android error stack trace? i tried searching , but never found a clear-cut answer

Thanks


回答1:


Stack traces are exposed via LogCat, either in an IDE window, or via adb logcat on the command line.




回答2:


Print your stack trace and check the message in the Logcat (using DDMS) tool.

For more info about debugging, see this article.




回答3:


In eclipse you have the logcat view.

If you can't see it go to : Windows > Show View > Others and in the box look for the Android folder you'll see the LogCat view.



来源:https://stackoverflow.com/questions/5599540/how-to-view-the-error-stack-trace-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!