在屏幕上的Andr​​oid应用程序显示日志消息

编程入门 行业动态 更新时间:2024-10-27 10:28:51
本文介绍了在屏幕上的Andr​​oid应用程序显示日志消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

是否有可能在Android应用程序在屏幕上显示日志消息(我打印使用 android.util.Log )?

Is it possible to display the log messages (which I print using android.util.Log) on screen in an Android application?

有没有其他更好的方法来在屏幕上只输出线?

Is there any other better method to just output lines on the screen?

类似的System.out.println

推荐答案

像其他人所说,你可以使用日志猫。如果你正在使用模拟器或调试设备,可以使用亚行logcat 来查看邮件。在Eclipse中调试的角度来看,有一个窗口,会为你做的。

Like others have suggested, you can use log cat. If you are using the emulator or debugging a device, you can use adb logcat to view the messages. In Eclipse debug perspective, there is a window that will do that for you.

的另一种方式,不附加调试器,是使用目录下载 - logcat的阅读器应用

Another way, without a debugger attached, is to use the CatLog - Logcat Reader application.

更多推荐

在屏幕上的Andr​​oid应用程序显示日志消息

本文发布于:2023-11-23 14:23:19,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1621762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   消息   屏幕上   日志   oid

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!