25

Somehow I closed the logcat tab from the debug window and now I am unable to get it back. In Run->Configuration->Logcat I have everything checked. I do have the logcat tab in Android Monitor window, but not in Debug. How can I get it back?

enter image description here

I created a bug on on their bug-tracker: https://youtrack.jetbrains.com/issue/IDEA-144525

Alex Burdusel
  • 3,015
  • 5
  • 38
  • 49

10 Answers10

40

I think with the release of Android Studio 1.4 the logcat tab has been removed from the Debug view. Now I believe the only place to access it is by opening the Android Monitor view by pressing Alt+6 on Windows or CMD+6 on Mac.

Release notes of Android Studio 1.4 Beta 3 allude to this:

Logcat view mostly rewritten to address a number of stability and usability bugs

Adam Johns
  • 35,397
  • 25
  • 123
  • 176
11

In Android Monitor window, click the little tiny button on the top right corner. enter image description here

KaKa
  • 559
  • 7
  • 18
  • for a light theme instead of the dark sample, see https://i.stack.imgur.com/1zuu4.png from http://stackoverflow.com/a/28476685/1818089 – computingfreak Jan 23 '17 at 00:58
6

No one has seemed to mention this, but make sure you are inside the "android" directory and not the root directory of your project (React Native). Logcat will not display otherwise.

Friendly-Robot
  • 1,124
  • 14
  • 24
5

Click on Android Monitor at the bottom of the screen.

and then you should see there are a tab call "Logcat" next to "Memory" tab.

enter image description here

NOT_A_PROGRAMMER
  • 1,794
  • 2
  • 20
  • 31
  • 1
    I wasn't downvoter, but this does not restore logcat tab to debug window. it opens it in android monitor window. – Adam Johns Oct 04 '15 at 02:14
  • 3
    I downvoted because it seems like you didn't read my question or looked at my screenshot. This is the actual reason I created this question: not having the tab you show in your screenshot. – Alex Burdusel Oct 04 '15 at 09:26
  • @Burdu Sorry, I misunderstood. What version Android Studio you are running? I am running 1.4 and I noticed that the debug tab that you mentioned is gone and I have to click on android monitor to see the log and it happened right after I installed 1.4 on my Mac and PC. I think it could be 1.4 thing like AdamJohns answer. – NOT_A_PROGRAMMER Oct 05 '15 at 13:17
  • 1
    This is a real pain because you can no longer step your code and see the logcat output. You have to switch back and forth between the Debug window and Android Monitor window. – Bill Apr 20 '16 at 17:52
  • Thank you. Seen many threads for this, but got no answer. Finally ! – Jaydev May 12 '16 at 04:05
3

In Android Studio 3.5.2, Logcat can be shown from View > Tool Windows > Logcat enter image description here

For some reason in a specific project, it wasn't found using this way, but I could fix it as following:

File > Project Structure > Facets > Add > Android > my_module

enter image description here

Hasan El-Hefnawy
  • 1,249
  • 1
  • 14
  • 20
1

While I would be a little late for the party, it has been a few years and new version of Studio.

Today when you encounter the bug, your logcat would not be shown, to resolve this you would need to follow these steps:

  • Menu -> Build -> Make Project
  • in your settings.gradle comment out everything and sync.
  • uncomment everything and sync again.
  • Menu -> Build -> Make Project
  • Once the project build is done.. your Studio would be ready.

I have encountered several different bugs related to this issue, this scenario covers most of these cases.

TacB0sS
  • 10,106
  • 12
  • 75
  • 118
1

Given solutions not worked for me.

I found another solution

Click

View-> Tool Windows -> Logcat

Then the missing Logcat tab appears again.

Android Studio IDE version: (Android Studio Electric Eel | 2022.1.1 Canary 8)

Jitesh Prajapati
  • 2,533
  • 4
  • 29
  • 51
Pan Chain
  • 11
  • 2
0

It was working fine and it disappeared suddenly. After nothing else worked, I ran adb devices to see if my device was correctly attached and TA DA. adb server wasn't running and started automatically and Android Studio started to show Logcat as always.

➜ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
0030713775  device
Diego Mello
  • 5,220
  • 3
  • 17
  • 21
-1

press alt 6.

If you still don't see it there should be a little icon in the top-right corner of the view, press that.

Sander
  • 674
  • 1
  • 5
  • 17
-1

Top Menu:

View -> Tool Windows -> Logcat

Bottom bar:

View -> Appearance -> Tool Windows Bar

ali ozkara
  • 5,425
  • 2
  • 27
  • 24