Skip to content

How to get an adb logcat from a PC

Unknown W. Brackets edited this page Oct 4, 2018 · 1 revision

First get the adb tool from here: https://developer.android.com/studio/releases/platform-tools

Then enable developer mode per this page (build 7 times): https://developer.android.com/studio/command-line/adb

To use adb logcat:

  1. Extract the platform-tools zip somewhere.

  2. Plug your phone into your PC via USB.

  3. Open a command prompt (Start -> command prompt.)

  4. Drag the "adb" program from the extracted zip into the command prompt. You'll see something like:

    C:\Users\Me>"C:\Users\Me\Downloads\platform-tools_r28.0.1-windows\platform-tools\adb.exe"
    
  5. Keep typing after that, starting with a space (you can copy and paste this, just make sure there's a space before the 'logcat' part, or just press space before pasting it... too many spaces is okay):

     logcat > "%USERPROFILE%\Desktop\ppsspp.log"
    
  6. Now press enter. Your device might show a message asking you to confirm debugging. Go ahead and allow.

  7. Now just reproduce the problem on your device. Make sure not to unplug the USB cord.

  8. Once you're done, go back to that command prompt window and press Ctrl-C. It should go back to a new line like C:\Users\Me>.

  9. There should be a file named "ppsspp.log" on your desktop. Zip it up, and attach it here.