Note to self: to save the contents of Logcat to a text file:

  • Navigate to the SDK installation directory.
  • Go to the /platform-tools folder.
    adb logcat -d > my_logcat_dump.txt
    

If there is more than one device connected to adb, specify which device’s log to dump:

adb -s emulator-5558 logcat -d > my_logcat_dump.txt