开发者

Log cat in android

开发者 https://www.devze.com 2023-02-16 09:31 出处:网络
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

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

精彩评论

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