Android Studio 中的警告屏幕选项在哪里? [英] Where is the warnings screen option in Android Studio?

查看:32
本文介绍了Android Studio 中的警告屏幕选项在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Android Studio 中查看我的代码的警告,但我找不到显示警告视图的选项.如果发生日食,我们可以在问题"视图中看到警告.

I want to see warnings of my code in Android Studio, But i am unable to find the option to display warnings view. In case of eclipse we can see the warnings in the "Problems" view.

谁能建议我,如何在android studio中查看警告?

Can anyone suggest me, how to view warnings in android studio?

推荐答案

如果在工具栏上单击分析"->检查代码";然后在弹出的窗口中选择您要检查的项目数量(我通常做整个项目,但您可能想要选择特定模块),然后单击确定.

If, on the toolbar, you click Analyze -> Inspect Code; then in the window that pops up select how much of your project you want to inspect (I usually do Whole Project, but you might want to select a specific module), then click okay.

Android Studio 会工作一段时间,然后会从底部弹出检查窗口,其中包含一个结果列表,按检查细分.

Android Studio will work for a bit, then the inspection window will pop up from the bottom with a list of results, subdivided by inspection.

这篇关于Android Studio 中的警告屏幕选项在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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