Problem
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.
Solution
- Enable debugging for your phone. Typically this is in your Settings > About Phone. Click the Build Number 7 to 8 times until it prompts that you're a developer.
- Go back into your Settings and find the Developer Settings. Enable USB Debugging.
- Plug your phone into your computer.
- You'll now get a prompt on your phone to authorize your computer. Check the box to authorize this.
- Download the platform-tools here that match your computer's operating system.
- 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
- For example:
- Run:
./adb logcat
and make this generate information on your terminal. You may have to reauthorize your computer on the phone. - Press CTRL+C to exit this logcat screen.
- If step 8 worked, now run:
./adb logcat > logs.txt
- This should generate a file in your platform-tools folder. Copy that file and attach it to your support ticket.
Comments
Article is closed for comments.