Android Studio 3.1.3中缺少LogCat [英] LogCat Missing from Android Studio 3.1.3

查看:768
本文介绍了Android Studio 3.1.3中缺少LogCat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在笔记本电脑上安装了Android Studio 3.1.3,以便开始学习android/mobile开发(我对这一切仍然是陌生的).不过,似乎缺少了LogCat选项(请参见下面的图片)

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)

我为解决该问题所做的尝试:

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

-卸载并重新安装android studio(以及对其进行更新...)

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

-研究问题(无济于事,因为所有解决方案均按alt-6或转到View-> Tool Windows)

-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.

推荐答案

我知道这是一个老问题,但是我至少遇到过两次这个问题,因此可能会对某人有所帮助.

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

问题似乎是您正在寻找的项目的路径. 它应该指向项目中包含"app"和"gradle"文件夹的文件夹.

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. 转到文件>打开
  2. 选择项目中包含"app"文件夹的文件夹
  3. 按打开"

如果看到类似这样的内容,则现在可以使用alt-6或View-> Tool Windows打开Logcat窗口.

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

请注意,由于某种原因,它首先对我不起作用,直到我打开app文件夹,运行构建,然后打开包含app文件夹的文件夹.

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.

这篇关于Android Studio 3.1.3中缺少LogCat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆