Thursday, July 28, 2016

Android Debugging

Two great ways to debug better. Happy testing.

1. In Android Studio add font color to logcat.

  • How to add color font to logcat follow the below steps:
  1.  Open Android Studio
  2. Preferences -> Editor -> Colors & Fonts -> Android Logcat.
  3. Click button ‘Save As’, and name your new Scheme. (uncheck ‘Use inherited attributes’)
  4. In the right side select a color for each component: Assert, Debug, Error, Info, Verbose, Warning.



2. Add color to terminal adb logcat.
  • Take a look at this tool from Jake Wharton pidcast:
Easy to use.
Install: $brew install pidcat
Use: $adb logcat -v brief | pidcat com.myPackage.Name 

Third party tool optioon: Mac tool LogRabbit  http://lograbbit.com $10


Let me know if you have any questions.

No comments:

Post a Comment