0% found this document useful (0 votes)
116 views3 pages

Logcat Android: Step by Step

This document provides steps to view logcat logs from an Android device in Android Studio. It instructs the user to connect their Android device to their PC via USB, enable USB debugging on the device, open the command prompt, navigate to the platform-tools folder, and run the adb logcat command to view logs. The logs can then be copied and pasted into a text file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
116 views3 pages

Logcat Android: Step by Step

This document provides steps to view logcat logs from an Android device in Android Studio. It instructs the user to connect their Android device to their PC via USB, enable USB debugging on the device, open the command prompt, navigate to the platform-tools folder, and run the adb logcat command to view logs. The logs can then be copied and pasted into a text file.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Logcat Android

STEP BY STEP

P.S You need to have Android Studio Installed on your PC.

 Connect the mobile device to PC via USB cable.


P.S.: Make sure the device is on Developer Mode and USB debugging is
enabled.)

 Win + E to open the explorer bin, type %appdata% on finder and press "Enter"
.

 Go to AppData > Local > Android > Sdk > platform-tools, than copy the path
from explorer:
→ C\Users\luisa\AppData\Local\Android\Sdk\platform-tools

 Win + R to open the prompt command, type cmd and press "Enter".

Logcat Android 1
 On the prompt command, type:
→ cd C\Users\luisa\AppData\Local\Android\Sdk\platform-tools
and press "Enter".

 On the prompt command, type:


→ C\Users\luisa\AppData\Local\Android\Sdk\platform-tools>adb logcat -s
Unity
and press "Enter".

 Type ctrl + A to select all content from prompt command and click with the
right button of the mouse to copy the content.

Logcat Android 2
 Paste on a .txt file, save, and that's it!
DONE!

Command-lines from Android Studio:


https://developer.android.com/studio/command-line/logcat?hl=pt-br

Logcat Android 3

You might also like