Skip to content

Instantly share code, notes, and snippets.

@SauloSilva
Last active April 2, 2018 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SauloSilva/5f6b5378c0043da00497 to your computer and use it in GitHub Desktop.
Save SauloSilva/5f6b5378c0043da00497 to your computer and use it in GitHub Desktop.
Logcat-color intall

#Logcat color configuration

Like leaving the log of the friendliest adb

  • Download file and install:

      $ cd /tmp    
      $ wget https://github.com/downloads/marshall/logcat-color/logcat-color-0.5.tar.gz
      $ tar -vzxf logcat-color-0.5.tar.gz
      $ cd /logcat-color-0.5
      $ python setup.py install
    
  • Add path to adb in .bash_profile

     $ sudo vim ~/.bash_profile
    
     export ANDROID_HOME=/Users/your_user/android-sdks
     PATH=$PATH:$ANDROID_HOME/platform-tools/
     PATH=$PATH:$ANDROID_HOME/tools/
  • Filter packages:

      $ vim ~/.logcat-color
    
  • Edit .logcat-color

      Profile( name = "foo", packages = [ "br.com.foo" ])
    
  • Run

      $ logcat-color foo
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment