LogCat Missing from Android Studio 3.1.3
Asked Answered
S

7

19

I recently installed Android Studio 3.1.3 on my laptop in order to start learning android/mobile development (I am still new to all of this). The LogCat option seems to be missing though (refer to images below)

image showing the missing alt-6 from Tool Windows


image showing the missing LogCat tab

What I tried to do in order to fix the problem:

-uninstalling and reinstalling android studio (along with updating it...)

-researching the problem (no useful results as all the solutions were to press alt-6 or go to View->Tool Windows)

It would be a huge help/relief if someone knows how to solve this problem. Thanks in advance.

Sextillion answered 17/7, 2018 at 12:37 Comment(2)
Are you using canary version?Nonconductor
If you just need any logcat output you can either use the classic android-sdk-windows\tools\monitor.bat or call "adb logcat" in commandlineAllyn
P
15

I know it is an old question, but I encountered this problem at least twice so it might help someone.

The problem seems to be the path of the project you're looking at. It should be pointing to the folder containing the 'app' and 'gradle' folders inside your project.

  1. Go to File > Open
  2. Select the folder with the 'app' folder inside your project
  3. Press 'Open'

If you see something like this you can now probably open the Logcat window with alt-6 or View->Tool Windows.

Logcat UNLOCKED

Note that for some reason, it didn't work for me at first until I opened the app folder, run a build and then opened the folder containing the app folder.

Phosphorite answered 24/12, 2018 at 14:42 Comment(4)
goddammit, been looking for this for the past few monthsCodeclination
what about for iOs?Risner
For iOS please use CMD+6 @JoãoAbrantesFrankel
This did not work for me.Clamp
S
8

You need to sync your project and then Logcat will show up

Silver answered 12/6, 2019 at 16:5 Comment(2)
Funny, but true!Choosey
This worked for me. It was not visible anywhere int he IDE, but magically appeared when I synced.Clamp
S
1

Just in case anyone stumbles upon this as I did: If you are developing a react-native app, be sure that you import only the android folder of the project. If you import the whole project, then among other things, logcat is nowhere to be found!

Sakmar answered 22/11, 2019 at 13:25 Comment(0)
T
0

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

Tibbetts answered 17/7, 2018 at 12:40 Comment(8)
this option is missing, please check the imagesSextillion
Just Try pressing Keyboard ShortcutTibbetts
if not then goto sdk->platform->platform-tools-> and run adb logcatTibbetts
I pressed the shortcut but nothing happenedSextillion
where is the sdk of your 2nd comment located in?Sextillion
i dont know where you install adroid sdk but if you are using windows i know the default location of android sdk is C:\user\Username\Appdata\Local\Android\sdk\platform\platform-tools\Tibbetts
or try window+ R and type 'Appdata' then navigate Local\Android\sdkTibbetts
This is not an answer and suggestion of run adb from the command line is lame.Mealworm
I
0

I closed "Logcat" by accident via right click -> "Remove From Sidebar". I was able to restore it with these steps:

Launch your current App on an emulator.

This should create a "Run" Tab on the Sidebar. 

Click on the "Run" Tab and find the "Modify Run Configuration..."
(Wrench) icon and launch it.

Change the tab to "Miscellaneous".

Check the box next to "Show logcat automatically"
Indecisive answered 19/5, 2022 at 23:57 Comment(0)
P
0

This is not a solution if Logcat doesn't even show up in View->Tool Windows!

But if it does: click it and it may show up at a different location than it used to be. Without recognizing I had shoved it to the top left where the project tab is shown. You can now click on the gear wheel on the tab and select move to bottom left (that is the default location).

This was the solution for my "logcat not showing".

Phenobarbital answered 13/12, 2022 at 13:0 Comment(0)
U
-5

Press Alt+6 inside Android Studio to open Logcat monitor.

Then, Do the following steps:-

  1. Open Android Studio.
  2. Open Android Monitor Window(at the bottom of android studio).
  3. Here you will see the drop down in right corner.
  4. Select Show only selected Application.
Urgency answered 17/7, 2018 at 12:44 Comment(1)
This is the correct answer, I don't understand how it received negative results.Fibrin

© 2022 - 2024 — McMap. All rights reserved.