显示logcat的在终端? [英] Display Logcat in Terminal?

查看:157
本文介绍了显示logcat的在终端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑/解决方案:在平台-tools目录执行 ./亚行logcat


原题:

我知道,有一种方法来显示 LogCat中用于Android设备/模拟器在码头上我的Mac,但我不知道该命令是什么。这主要是由于我的无能与UNIX命令。

下面是我的previous失败:

  

亚行logcat
  adb.exe logcat的
  FULL_PATH_TO_PLATFORM_TOOLS /亚行logcat
  FULL_PATH_TO_PLATFORM_TOOLS / adb.exe的logcat

解决方案

啊,只是亚行logcat 应该工作。你可能需要做一个明确的路径,如果在Android SDK工具目录是不是在你的路径,但应该这样做。

Edit/Solution: execute ./adb logcat in the platform-tools directory.


Original Question:

I know that there's a way to display the LogCat for an Android device/emulator in Terminal on my Mac, but I'm not sure what the command is. This is mostly due to my incompetence with UNIX commands.

Here are my previous failures:

adb logcat
adb.exe logcat
FULL_PATH_TO_PLATFORM_TOOLS/adb logcat
FULL_PATH_TO_PLATFORM_TOOLS/adb.exe logcat

解决方案

Ah, just adb logcat should work. You may need to do an explicit path if the Android SDK tools directories aren't in your PATH, but that should do it.

这篇关于显示logcat的在终端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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