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

查看:69
本文介绍了如何显示 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.

当窗口未显示时,View > Tool > Messages 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 好像去掉了这个窗口,很多人可能因为不同的原因错过了 Messages Window 而来到这里,而 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天全站免登陆