logcat的消息后很短的时间消失 [英] Logcat messages disappear after a short time

查看:602
本文介绍了logcat的消息后很短的时间消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时日食的logcat消息关闭应用程序,很短的时间后消失。 (大多没有这么短。)如何让它永远不会自动消失?

Sometimes eclipse logcat messages disappear after closing the app for a short time. (Mostly not so short.) How to make it never disappear automatically?

编辑:我的设备仍连接。而如何设置,即使设备disattach显示日志,只是下次启动之前清除?

My device is still attached. And how to set it to show log even after device disattach and clear just before next launch?

推荐答案

这是也发生了我。设备连接。等所有的内部动作得到记录和错误信息很快消失。你应该尝试以下(它的工作对我来说)

this is also happening with me. The device is attached. And so all the internal actions are getting logged and the error message disappears very quickly. You should try the following (it worked for me)

  1. 重新启动Eclipse中(这里说为什么logcat中没有显示什么?
  2. 如果1不起作用,您可以尝试增加logcat的邮件大小。从窗口> preferences>的Andr​​oid> LogCat中(增加规模将超过5000)

第一招为我工作。这样,你也不必分离部署Eclipse中的应用程序,该设备每次。至于,其他的问题 - 你总是可以从[清除日志]按钮,清除现有的日志

First one worked for me. In this way also you need not to detach the device everytime you deploy the app from eclipse. Regarding, the other question - you can always clear the existing log from [Clear log] button.

这篇关于logcat的消息后很短的时间消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆