简体   繁体   English

Android Studio 中缺少“清除”和“终止应用程序”等控件的 Logcat 侧边栏

[英]Logcat sidebar of controls like `Clear` and `Terminate Application` missing in Android Studio

Till last time when I used Android Studio a few hours ago, I had a sidebar of controls like 'Clear' and 'Terminate Application' etc. Like this side bar in the Run perspective.直到几个小时前我上次使用 Android Studio 时,我有一个侧边栏控件,如“清除”和“终止应用程序”等。就像Run透视图中的这个侧边栏。

在此处输入图片说明

I was using the control to easily terminate applications.我正在使用控件轻松终止应用程序。 But now it's gone , and I don't know how to terminate my applications.但现在它不见了,我不知道如何终止我的应用程序。

在此处输入图片说明

So what should I do to get it back?那我应该怎么做才能恢复呢? Is there another easy way to terminate apps?是否有另一种简单的方法来终止应用程序?

Addendum: I have seen this question, but I don't know how to find that DDMS perspective.附录:我看过这个问题,但我不知道如何找到那个 DDMS 视角。 And where are my controls from the Logcat gone?我在 Logcat 上的控件去哪儿了?

来到这里寻找答案,但自己找出答案,以防万一有人需要它:右键单击 Android 选项卡(在模拟器/设备名称上方显示 Android 的位置),当弹出菜单时选择“显示工具栏”。

Android Studio layout has changed since 2015, so for today (Android Studio 4.2.2): Android Studio 布局自 2015 年以来发生了变化,所以今天(Android Studio 4.2.2):

The context menu popup of the Logcat tab (accessible through the little gear icon on the top right of the tab) has the option " show toolbar ". Logcat 选项卡的上下文菜单弹出窗口(可通过选项卡右上角的小齿轮图标访问)具有选项“显示工具栏”。

Logcat 上下文菜单显示工具栏

This will bring back toolbar on the left side of Logcat.这将带回 Logcat 左侧的工具栏。 Hope that info will help someone someday :)希望这些信息有一天能对某人有所帮助:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM