How do I get a Log File using Android Studio?

  1. If you haven't already done so, install Android Studio on your computer by following these instructions:
  2. On your computer, launch Android Studio and get to a screen like this (it doesn't have to look exactly like this, but it should have the menu options across the top):
  3. If in Android Studio you can't see the "Android DDMS" frame shown in the screenshot below, click View >> Tool Windows >> Android and you should see it.
  4. On your device, look in the Settings app for an entry named "Developer options". If you don't see it, follow these instructions to unhide it:
  5. On your device, enable USB Debugging if it's not already enabled. On my device, I do this by going to Settings >> Developer Options >> USB Debugging.
  6. On your device, navigate to the device's home screen (this is generally where you see icons for launching various apps).
  7. Using a USB cable, connect your device to your computer.
  8. On your device, you may get a message asking if you want to give your computer permission for USB Debugging. If this happens, grant the permission.
  9. On your computer, find the Devices section within the Android DDMS frame. When you find it, click your device's name. Then look at the "logcat" section to see the log.
    • Note: your logcat might be minimized. If so, look for its icon and click it. The logcat window should restore.
  10. Set the two settings shown below:
  11. Trigger the problem.
  12. Select everything in the log (on Windows you would click on the log and then press Ctrl-A) and then Copy it (on Windows you would press Ctrl-C).
  13. Paste the log into a new text file or Microsoft Word document, and then save this file/document.
  14. Email the file/document from Step 13 to
  15. If you so choose, rehide the "Developer Options" you unhid in Step 4 by following these instructions:
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk