登录猫的android [英] Log cat in android
本文介绍了登录猫的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是一个新的Android开发人员,所以我不知道怎么用logcat的。 所以恳请如果你知道,然后引导我。
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.
推荐答案
连接您的设备,在你的Android SDK安装的工具目录中打开一个控制台窗口并运行
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.
如果有您需要通过-s参数,指定设备连接多个设备。用得到它们
If there's more than one device connected you needed to pass the "-s" parameter specifying the devices. get them using
adb devices
这篇关于登录猫的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文