登录猫的android [英] Log cat in android

查看:124
本文介绍了登录猫的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个新的Andr​​oid开发人员,所以我不知道怎么用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.

推荐答案

连接您的设备,在你的Andr​​oid 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆