试图输出我LogCat中到一个文件文件、LogCat

由网友(梦想的天空分外蓝)分享简介:有人告诉我这是一个命令行选项。但是Eclipse的运行!运行配置...!目标!附加仿真器的命令行选项栏已经有I've been told it's a command line option. But Eclipse's Run!Run Configurations...!Target!Additional Emu...

有人告诉我这是一个命令行选项。但是Eclipse的运行!运行配置...!目标!附加仿真器的命令行选项栏已经有

I've been told it's a command line option. But Eclipse's Run!Run Configurations...!Target!Additional Emulator Command Line Options field is already occupied with

-sdcard "C:android-sdk-windowstoolssd9m.img"

如果我想写的东西像

adb logcat -s MessageBox > "C:UsersmeDocumentsLogCatOutput.txt"

然后我在哪里写它,以及如何(即是语法,甚至正确的)?我需要输出仅过滤标记,不详细。 (消息框是​​我的标签。再次,我不知道是否有这个标点是正确的,甚至是那里的命令去。)

then where do I write it, and how (i.e., is the syntax even correct)? I need to output only a filtered tag, not verbose. ("MessageBox" is my TAG. Again I don't know if any of this punctuation is right, or even where the command goes.)

感谢您的帮助。

推荐答案

应该有一个adb.exe文件位于C: Android的SDK-WINDOWS 工具。您可以从DOS命令提示符下手动调用这样的:

There should be an adb.exe file in C:android-sdk-windowstools. You can invoke this manually from a DOS command prompt:

cd C:android-sdk-windowstools
adb logcat -s MessageBox > "C:UsersmeDocumentsLogCatOutput.txt"

有没有必要与Eclipse费心在这种情况下。

There's no need to bother with Eclipse in this case.

阅读全文

相关推荐

最新文章