如何显示Android Studio的消息窗口? [英] How to show Android Studio's Messages Window?

查看:527
本文介绍了如何显示Android Studio的消息窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我构建项目并且有错误时,显示所有错误的消息窗口并不总是显示.我必须两次或多次构建项目(即 Ctrl + F9 )才能看到窗口.

When I build a project and there are errors, the Messages window that shows all the errors does not always show. I have to build the project (i.e. Ctrl + F9 ) twice or more in order to see the window.

不显示窗口时,视图">工具">消息Alt + 0"显示为灰色,如以下屏幕截图所示.出现构建错误时如何显示窗口?

When the window is not shown, View > Tool > Messages Alt + 0 is grayed out as shown by the following screenshot. How can I show the window when there are build errors?

我正在Windows 8上运行最新的Android Studio.

I am running the latest Android Studio on Windows 8.

2018-04-02

Android Studio 3.1似乎已删除了此窗口,很多人可能由于不同的原因而错过了消息窗口,因此来到这里,在这种情况下,yuval的答案可能是正确的.

Android Studio 3.1 seems to have this window removed, many people may come here because of missing the Messages Window due to a different reason, and yuval's answer may be the right one in this case.

推荐答案

在我看来,这有点不同.我刚刚关闭了消息工具"窗口,并在左侧带有红色十字,然后该窗口完全消失了,即使经过几次重新构建也不会再次显示,视图">工具">消息Alt + 0"也呈灰色.唯一有助于使Window返回的事情是破坏构建,因此会出现一些编译器错误.之后,该窗口将再次出现,显示这些错误.现在窗口仍然在那里,不会消失.希望这对某人有帮助.

It was a bit different in my case. I just closed the Message Tool Window with this red cross on the left and then this window completely disappeared and would not show again even after several rebuilds, View > Tool > Messages Alt+0 was also grayed out. The only thing that helped to bring the Window back is to break the build, so it would be some compiler errors. After that the window has reappeared showing those errors. Now the window is still there, does not vanish. Hope this helps somebody.

这篇关于如何显示Android Studio的消息窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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