【问题标题】:System.out.println not happening in console [duplicate]System.out.println 未在控制台中发生 [重复]
【发布时间】:2013-09-19 17:35:10
【问题描述】:

我正在尝试 System.out.println 一些调试语句,但它不会出现在控制台上。我知道我打开了正确的控制台,因为它在运行程序时显示“正在安装 apk”和其他消息。在我的代码中可以找到 System.out.println 语句。我通过使用 Toasts 对其进行了测试,并达到了它。有什么帮助吗?

【问题讨论】:

    标签: java android eclipse


    【解决方案1】:

    使用 android 时,您应该使用 android.util.Log 并查看 Logcat 窗口。

    【讨论】:

      【解决方案2】:

      检查Logcat 输出,它应该在Logcat

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-05-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多