我怎么能看到在Eclipse错误日志(logcat中)为Android?错误、我怎么、能看到、日志

2023-09-13 00:41:40 作者:穷极一生钟情一人

如何/我在哪里可以看到,当在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).