Thursday, July 17, 2014

How to get a logcat / system log to help with debugging an issue

Android 4.2+:

If you are rooted you can follow the instructions for 4.0.x and below.

Step 1: Reproduce the crash / issue with the app
Step 2: Enable developer options: Go to system settings -> about device -> click on "Build Number" roughly 7 times until you get a toast saying developer options are enabled.

adb tap build number seven times

Step 3:  Back out of About Device and Click on Developer Options
Step 4:  Find take bug report and click it.  If Take bug report is grayed out, you will need to check the "Enable USB Debugging" option to enable the bug report option
Step 5: Wait up to a few minutes for the bug report to generate, you will then be prompted to select an app to handle the bug report.  Select your email client / gmail.  (There may also be a notification saying the bug report was taken.. clicking on the notification will give you the prompt)
Step 6: Enter the email address to the dev you want to send the report to (gonemadsoftware@gmail.com if you want to send it to us)
Step 7: Send email

Android 4.1:

Android 4.1 users cannot send logs unless they are rooted.  If they are rooted follow the instructions for 4.0.x and below.

Android 4.0.x and below

Step 1: Download an app named catlog from google play (https://play.google.com/store/apps/details?id=com.nolanlawson.logcat).  
Step 2: Reproduce the crash / issue with the app
Step 3: Open Catlog
Step 4: Hit menu -> send -> attachment
Step 5: Select your email client/gmail
Step 6: Enter the email address to the dev you want to send the report to (gonemadsoftware@gmail.com if you want to send it to us)
Step 7: Send email