Getting information from logCat window

会有一股神秘感。 提交于 2019-12-13 03:43:12

问题


How to get information from the LogCat window?


回答1:


If you add something like Log.v("tag", "value"); in your code, You can see that in LogCat window.




回答2:


You can click Windows ->ShowView->Other-> Android ->Logcat

Refer to Images 1 and Images 2

and

and in the code use v -> Verbose and d -> Debug and E-> Error I -> Information, W -> Warning



来源:https://stackoverflow.com/questions/5323454/getting-information-from-logcat-window

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