问题描述
有时日食的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)
- 重新启动Eclipse中(这里说为什么logcat中没有显示什么? )
- 如果1不起作用,您可以尝试增加logcat的邮件大小。从窗口> preferences>的Android> 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的消息后很短的时间消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!