Enabling and Collecting ADB Logging on Android


If you're experiencing a bug on your Android phone, at times we will need the ADB logs to better understand what's happening and how to fix it. This guide will walk through the basic steps to collect this information.


  1. Enable debugging for your phone. Typically this is in your SettingsAbout Phone. Click the Build Number 7 to 8 times until it prompts that you're a developer.
  2. Go back into your Settings and find the Developer Settings. Enable USB Debugging.
  3. Plug your phone into your computer.
  4. You'll now get a prompt on your phone to authorize your computer. Check the box to authorize this.
  5. Download the platform-tools here that match your computer's operating system.
  6. Unzip the file that you downloaded and open a terminal session to that location. 
    • For example:
      cd ~/Downloads/platform-tools or cd C:\Users\%USERNAME%\Downloads
  7. Run:
    ./adb logcat
    and make this generate information on your terminal. You may have to reauthorize your computer on the phone.
  8. Press CTRL+C to exit this logcat screen.
  9. If step 8 worked, now run:
    ./adb logcat > logs.txt
  10. This should generate a file in your platform-tools folder. Copy that file and attach it to your support ticket.
Was this article helpful?
1 out of 1 found this helpful



Article is closed for comments.