adb and traces.txt

Open a command window and enter set directory to platform-tools folder in your sdk location (eg ‘cd c:\androidsdk\platform-tools’) to enable use of adb commands.

adb -e logcat

will write logcat messages.

adb pull /data/anr/traces.txt

will copy that file to the plaform-tools folder, from where it can be opened (eg in Wordpad in landscape).

This entry was posted in Android. Bookmark the permalink.

Leave a Reply

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