如何在 Eclipse 中打开 LogCat(用于 Android 调试)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12769798/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:08:55  来源:igfitidea点击:

How to open LogCat in Eclipse (for Android Debug)

androideclipsedebugginglogcat

提问by Micha? Bo?ydar Paw?owski

I'm debugging my Android App from book I bought. In book says (and shows on PrintScreen in book), that I need to look at LogCat Console. But I don't have it opened in my Eclipse. I searched in options, but I couldn't find how to open it.

我正在从我购买的书中调试我的 Android 应用程序。书中说(并在书中的 PrintScreen 上显示),我需要查看 LogCat 控制台。但是我没有在我的 Eclipse 中打开它。我搜索了选项,但我找不到如何打开它。

How open LogCat console?!

如何打开 LogCat 控制台?!

回答by Luke Taylor

LogCat is located here:

LogCat 位于此处:

Window > Show View > Other > Android > LogCat

窗口 > 显示视图 > 其他 > Android > LogCat

I hope this helps.

我希望这有帮助。

回答by Anup Cowkur

It's available here:

它可以在这里找到:

In Eclipse, Goto Window-> Show View -> Other -> Android-> Logcat.

在 Eclipse 中,转到 Window-> Show View -> Other -> Android-> Logcat。

You can find commands and stuff you can do with logcat over here: http://developer.android.com/reference/android/util/Log.html

您可以在此处找到可以使用 logcat 执行的命令和内容:http: //developer.android.com/reference/android/util/Log.html