开发者

Log cat in android

I am a new android develop开发者_高级运维er so I don't know how to use logcat. So kindly request that if you know then guide me.


Connect your device, open a console window in the tools directory of your android sdk installation and run

adb logcat 

Or start an emulator and do the same.

If there's more than one device connected you needed to pass the "-s" parameter specifying the devices. get them using

adb devices


if you are using eclipse IDE for development, you need to go to WINDOW->Show View->others->in that choose android->logcat...it will appear right beside your console....

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜