How to Collect Logs via Command Line (ADB) on Android Devices

  1. Install the Android Debug Bridge.
  2. Run the following commands:
    “adb logcat -c" (This clears the logs)
  3. Reproduce the issue
  4. Then run the following command to capture the logs in a file:
    “adb logcat -d > Name_of_Log_File.txt"
Have more questions? Submit a request

0 Comments

Article is closed for comments.