How can I see the error log (logcat) for Android in Eclipse?
问题 How / where can I see what happened when my Android application crashes in Eclipse (using Run, not Debug)? 回答1: Sometimes the device gets "out of sync" with eclipse and logcat doesn't show any messages, as you've discovered. 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.