Log cat in android

后端 未结 2 1194
北恋
北恋 2021-01-26 08:14

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.

相关标签:
2条回答
  • 2021-01-26 09:11

    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
    
    0 讨论(0)
  • 2021-01-26 09:15

    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 讨论(0)
提交回复
热议问题