我怎么能看到在Eclipse错误日志(logcat中)为Android? [英] How can I see the error log (logcat) for Android in Eclipse?

查看:615
本文介绍了我怎么能看到在Eclipse错误日志(logcat中)为Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何/我在哪里可以看到,当在Eclipse中我的Andr​​oid应用程序崩溃(使用运行,未调试)?发生了什么事

How / where can I see what happened when my Android application crashes in Eclipse (using Run, not Debug)?

推荐答案

有时设备获得不同步Eclipse和logcat中不显示任何信息,因为你已经发现了。

Sometimes the device gets "out of sync" with eclipse and logcat doesn't show any messages, as you've discovered.

要解决这个问题,尝试了)去DDMS并选择您的设备; B)关闭logcat的标签,并创建一个新的; C)断开你的设备,并重新连接; D)退出日食和重新启动; E)重启设备;或f)重新启动计算机,按顺序。通常情况下,问题是固定的,你已经做了的时候)。

To fix this, try a) going to DDMS and selecting your device; b) closing the logcat tab and creating a new one; c) disconnecting your device and reconnecting it; d) exiting eclipse and restarting it; e) rebooting your device; or f) rebooting your computer, in that order. Usually the problem is fixed by the time you've done a).

这篇关于我怎么能看到在Eclipse错误日志(logcat中)为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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