在 Android 中编写一个简单程序时,我错误地关闭了 LogCat 窗口,我想知道如何再次显示它。
最佳答案
在 Eclipse 中,转到窗口-> 显示 View -> 其他-> Android-> Logcat。
Logcat 只不过是您的模拟器或设备的控制台。
System.out.println
在 Android 中不起作用。所以你必须处理 Logcat 中的每一件事。更多信息看这个Documentation .
编辑 1:System.out.println 正在处理 Logcat。如果您使用该标签,则该标签将类似于 System.out,而 Message 将是您的消息。
关于android - 如何在 Eclipse for Android 中启用 LogCat/Console?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3280051/