Restore LogCat window within Android Studio

AndroidAndroid StudioLogcatAndroid Logcat

Android Problem Overview


I have recently started to use Android Studio v0.1.1, And i can't seem to find LogCat... Is it gone? Or if not, how can I enable it?

If it is gone, is there any way to enable something similar to log my app behavior (and mainly crashes)?

Android Solutions


Solution 1 - Android

I think I still can find logcat in my installation of 0.1.1

Try pressing Alt+6 on Windows or CMD+6 on Mac.

Solution 2 - Android

Check if you have hidden it... Use Alt+6 to bring up the window and click on the button shown below 'Restore logcat view'

Accessing logcat from within IDE

Solution 3 - Android

In Android Studio 3.4, In the case in which Logcat does not appear in View->ToolWindows->Logcat (in that case Alt+6 or CMD+6 will also not work), the way to get the logact window is:

  1. File->Profile or debug APK (choose an APK)
  2. Select new window or use current window.
  3. Logcat is now available through the menu (View->ToolWindows->Logcat) or through Alt+6 or CMD+6

This issue is an indication that something is not configured correctly with the Android Studio project. The above solution can be useful:

  1. As a temporary solution when there are configuration issues with the Android Studio project, that for some reason are causing Android Studio to hide the logcat window.
  2. When trying to use the Android Studio logcat window for debugging an app without an Android Studio project.

Solution 4 - Android

You can show it pressing Alt+6

Or...

Click here!

Solution 5 - Android

Tools-> Android -> Android Device Monitor

will open a separate window

Solution 6 - Android

In my case, Logcat is showing in Android Project but not in Flutter Project.

In Flutter project, click on “Event Log” tab

it will show

23/03/20
6:52  Frameworks Detected
Android framework is detected.

click “Configure”, and it will show logcat

Solution 7 - Android

Android Studio 4.0.1

in my case when I press Alt + 6 it shows logcat with no problem but when I click to dismiss it will disappear again and will not be pinned at the bottom so I pressed this little button on the bottom left of the screen then it worked. hope it will help somebody :)

enter image description here

Solution 8 - Android

Open a separate terminal and start adb with logcat. On my (linux) system; > ~/android-studio/sdk/platform-tools/adb logcat

Solution 9 - Android

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.

Solution 10 - Android

View -> Tool Windows -> Logcat (command + 6)

enter image description here

Solution 11 - Android

In my case the window was also missing and "View -> ToolWindows -> Logcat (Alt + 6)" did not even exist. Pressing ALT+6 also had absolutely no effect whatsoever.

I fixed it this way:

  1. connect a device
  2. start ADB via Terminal ("> adb usb")
  3. stop it again (ctrl + c)
  4. close the Terminal window in the bottom left window next to the Event Log (via the red X)

After closing the terminal the Logcat window appeared in the tab list and the menu entry appeared in the "View -> ToolWindows" category.

enter image description here

Solution 12 - Android

In Android Studio 2.3.2 you will have to click on "Android Monitor" panel at the bottom and "logcat" is a tab of this pannel. See attachment.

If you do not have this panel you will have to go to Your main menu and then View->ToolBar/ToolButtons/Statusbar/Navigationbar

enter image description here

Solution 13 - Android

Choose "floating mode" then "Docker mode". It's worked for me!

Solution 14 - Android

When you are opening the project in the android studio instead of opening android directory open app directory

enter image description here

Solution 15 - Android

In AndroidStudio menus click: View\Tool Windows\Android

Solution 16 - Android

way one :

you can use bin icon in logcat enter image description here

way two: you can clear logcat after per lunch Edit Configuration > Miscellaneous

check Clear log before lunch

enter image description here

Solution 17 - Android

Apparantly, when logcat is opened and Android Studio is switched to fullscreen mode and back, the logcat window is nowwhere to be found.

Solution:

Restart Android Studio.

Solution 18 - Android

Search Android Monitor tab bottom of android studio screen. Click on it. It will display a window and there is a tab call logcat. If you can't see Android monitor tab, click Alt+G.

Solution 19 - Android

for me the device selection bar (or whatever it's actually called) in logcat tab doesn't show, to resolve this I had to move logcat to some other position (left/right) and move it back

Solution 20 - Android

If all of the above methods does not work then try the below mechanism. Sometimes, the android studio does not show logcat options because of the project you select is not an android project. If you want to debug an APK, create an empty android project then it will start showing the logcat option.

Solution 21 - Android

IN android studio 3.5.1 View -> Tool Windows ->Logcat

Solution 22 - Android

From 2022 to forth:

On top menu:

View -> Tool Windows -> Logcat

To show the bottom bar:

View -> Appearance -> Tool Windows Bar

Solution 23 - Android

Try going to Tools->Android->Enable ADB Integration

In my case it got automagically disabled

Solution 24 - Android

In my case, I see the window, but no messages in it. Only restart (studio version 1.5.1) brought the messages back.

Solution 25 - Android

I hope you have installed the required drivers for debugging android programs on your machine. If that is the case, when you run an application from android studio in an actual device, it will pop up a message asking to enable logcat. If you have disabled that option, then you can enable the logcat view from Window menu -> Show view -> Logcat. Next time when you run your application on actual device or in an emulator, you can see the logcat is active.

If you are not able to view it with the above solution, you can view the logcat from command line by typing

adb logcat

You can view more information from here http://developer.android.com/tools/help/logcat.html

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionarielschon12View Question on Stackoverflow
Solution 1 - Androidrudy sView Answer on Stackoverflow
Solution 2 - AndroidManoj BeheraView Answer on Stackoverflow
Solution 3 - Androidmn1View Answer on Stackoverflow
Solution 4 - AndroidJose Antonio Benitez MonteroView Answer on Stackoverflow
Solution 5 - AndroidmashernView Answer on Stackoverflow
Solution 6 - AndroidraghuView Answer on Stackoverflow
Solution 7 - AndroidMohammad SommakiaView Answer on Stackoverflow
Solution 8 - Androiduser2367742View Answer on Stackoverflow
Solution 9 - AndroidTacB0sSView Answer on Stackoverflow
Solution 10 - AndroidAviram FirebergerView Answer on Stackoverflow
Solution 11 - AndroidKevin GelkingView Answer on Stackoverflow
Solution 12 - AndroidDungView Answer on Stackoverflow
Solution 13 - AndroidvjmarcusView Answer on Stackoverflow
Solution 14 - AndroidIman RbView Answer on Stackoverflow
Solution 15 - AndroidHasan HashemView Answer on Stackoverflow
Solution 16 - AndroidRasoul MiriView Answer on Stackoverflow
Solution 17 - AndroidBondaxView Answer on Stackoverflow
Solution 18 - AndroidJass JayasingheView Answer on Stackoverflow
Solution 19 - AndroidDerek ZhuView Answer on Stackoverflow
Solution 20 - AndroidShreyak UpadhyayView Answer on Stackoverflow
Solution 21 - AndroidSaljith KjView Answer on Stackoverflow
Solution 22 - AndroidWhats91356JavaView Answer on Stackoverflow
Solution 23 - AndroidLuTeddyView Answer on Stackoverflow
Solution 24 - AndroidEliView Answer on Stackoverflow
Solution 25 - AndroidChanaka udayaView Answer on Stackoverflow