Android Application Development (AND-401) — Question 27
Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?
Answer options
- A. DDMS
- B. Logcat
- C. Console
- D. ADB
Correct answer: B
Explanation
Logcat is specifically designed to retrieve and display log messages from the Android system, which includes stack traces during errors. While DDMS and ADB offer additional functionalities related to debugging and device management, they do not directly capture log messages in the same way Logcat does. The Console is a more generic term and does not denote a specific tool for logging in Android.