Logcat tab missing from debug window in Android Studio

后端 未结 7 1009
逝去的感伤
逝去的感伤 2020-12-17 09:16

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 i

相关标签:
7条回答
  • 2020-12-17 09:25

    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.

    0 讨论(0)
  • 2020-12-17 09:27

    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.

    0 讨论(0)
  • 2020-12-17 09:40

    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.

    0 讨论(0)
  • 2020-12-17 09:44

    In Android Monitor window, click the little tiny button on the top right corner.

    0 讨论(0)
  • 2020-12-17 09:45

    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.

    0 讨论(0)
  • 2020-12-17 09:46

    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
    
    0 讨论(0)
提交回复
热议问题