Skip to main content
Skip table of contents

Android: Collecting device logs

Solution

To collect logs from an Android device for Blue Cedar support to troubleshoot, follow these steps:

  1. Download the Android SDK from http://developer.android.com/sdk/
  2. Extract the adt-bundle file.
  3. On the Android device from which you will extract logs, enable Developer mode by repeatedly tapping on the "Build Number" field in device settings > About.
  4. Navigate to Settings > System > Developer Options and enable "USB Debugging."
  5. Connect your device to your PC/Mac. Note: Windows may require specific device drivers.
  6. Open a terminal (Mac, Linux) or a command prompt (Windows), and navigate to the SDK tool's "platform-tools" directory.
  7. Execute the Android Debug Bridge tool with the logcat option and debug parameters, writing the data to a text file:

    Mac:
    ./adb logcat "*:D" > adb_log.txt

    Windows:
    adb logcat "*:D" > C:\adb_log.txt
     
  8. To clear the log:

    ./adb logcat -c 
     
  9. Reproduce the issue, and stop the logging process by using Ctrl-c in the shell/command prompt.

  10. Locate the log file (adb_log.txt) and send to support.

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.