问题
I am a new android developer so I don't know how to use logcat. So kindly request that if you know then guide me.
回答1:
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
回答2:
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....
来源:https://stackoverflow.com/questions/5271635/log-cat-in-android