We've all seen this error: "The application <task name> has stopped unexpectedly. Please try again." With the button: "Force close". As we all know this is not a lot of information about the error. That's why there is a loggin system build in in to android. To the log Android outputs all information it has about the error, such as the java stacktrace. To access this log use this command (in the command-line interface):
- Code: Select all
adb logcat
Or look in the DDMS perspective in Eclipse for the LogCat.
You can even filter the Log so you only get your own errors (though this will not give you the stacktrace).





