This document explains how to gather ‘logcat’ logs from android devices for the purpose of debugging issues.

Have developer options unlocks on the android device
Have Android studio installed with SDK’s and Tools See our tutorial for setting up Android here

-enable usb debugging

-open up the PC or Mac command terminal

-enter into the terminal the folder where adb is installed ex) cd /Users/<username>/Library/Android/sdk/platform-tools

-run ./adb for a list of available commands
-For the list of attached device id’s run ./adb devices
-copy your android device id
-to attach the logger to the device run ./adb -s “<device id>” logcat
-you will see a live recording of your devices logcat. You may now run your application and gather log data from the android device.

Leave a Reply

Your email address will not be published. Required fields are marked *

clear formPost comment