154

according to this link github colored logcat I am looking for any solution how to use it in android studio/intellij. Is there in android studio any option to modify calling adb logcat? Here is the example how it works. enter image description here

2
  • could you change these colours in Terminal? My Terminal is having completely other (boring) colours in comparing with this screenshot :(
    – Ewoks
    Nov 15, 2016 at 11:58
  • Another color scheme can be found here: stackoverflow.com/a/39993868/619673
    – deadfish
    May 10, 2017 at 12:39

4 Answers 4

412

You can customize colors at Preferences – Editor – Color Scheme – Android Logcat.

Android logcat color editor

Here is Darcula theme, suggested by Matouš Skála:

Darcula colors:

Debug  : 6897BB
Info   : 6A8759
Warn   : BBB529
Error  : FF6B68
Assert : 9876AA

Darcula theme

Only show logcat from selected process is supported by default feature at AndroidStudio. If you are not satisfied with current customizations you need to continue to use your favorite shell with JakeWharton srcipt as for now.

9
  • 9
    this little details increase productivity so much, google should add this detail as a default.
    – eliocs
    Sep 11, 2014 at 10:57
  • 2
    Here are the colors from the middle screenshot: assert #AE92B0 error #F8837F warn #C6C246 info #759769 debug #8FB8D0
    – Defuera
    Apr 9, 2015 at 20:09
  • 58
    Colours from bottom screenshot - Debug=#54C1E9, Info=#8CD10D, Warn=#FAC848, Error=#F95C5A, Assert=#B87BD5. Note that if you want to keep the rest of your IDE with a white background you should modify a light (e.g. Default) theme and set the background for the Android Logcat settings (Background=#393939). Jun 26, 2015 at 9:57
  • 1
    Very helpful. For Intellij IDEA,go to File->Settings->Editor->Colors & Fonts->Android Logcat.
    – nyxee
    Oct 30, 2016 at 20:25
  • 9
    Requested as new default in Android Issue Tracker issuetracker.google.com/issues/37898663
    – Jackl
    May 2, 2017 at 17:12
21

As of Android Studio 1.1.0 the Preferences menu was not visible in the menu bar (Atleast in Ubuntu). So I am posting a new answer that might help others:

Goto FileSettings or press Ctrl+Alt+S this will open the Settings dialog (see screenshot)

Now under IDE Settings navigate to EditorColors & FontsAndroid Logcat you can customize the colors of your choice.

NOTE: make sure you un-check the Inherit Attributes From: checkbox in order to edit the scheme.

Settings Dialog

11

If you already use Solarized Dark elsewhere, try these with Darcula:

Verbose   657B83
Debug     93A1A1
Info      22AAAA
Warning   B58900
Error     CB4B16
Assert    6C71C4

Preview of Solarized color scheme on background of dark grey.

1

You can download this files filesCustomAndroidStudio and copy in

Mac: /Users/.../Library/Preferences/AndroidStudioXX.XX/ Windows: C:\Users....AndroidStudioXX.XX\config\

Then go to logcat in settings and choose the file.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.