Log cat in android

橙三吉。 提交于 2019-12-02 09:25:48

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....

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