Android Studio未显示快速修复灯泡

编程入门 行业动态 更新时间:2024-10-26 00:20:08
本文介绍了Android Studio未显示快速修复灯泡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

新安装的Android Studio,intellij在编辑器中未向我显示错误.

Fresh Install of Android Studio, intellij is not showing me errors in the editor.

没有灯泡,没有带红色下划线的文字.要知道我在哪里出错(甚至是最简单的错误,例如缺少';'),我必须编译我的Android项目.

No lightbulb, no red underlined text. To know where I made errors (even the simplest error like a missing ';' ) I have to compile my Android project .

我一直在使用x64,Java JDK 1.7_40.

I'm on x64 all the way & Java JDK 1.7_40.

谢谢!

推荐答案

我找到了答案!

在右滚动条的顶部,有一个小眼睛图标,称为代码分析",如果在代码编辑器中打开的文件没有错误,则应该为绿色.

Just on top of the right scrollbar there is a small eye icon, wich is called "Code Analysis", it should be green if the file opened in the code editor is without errors.

那是什么问题?似乎代码分析很耗电,并且在笔记本电脑处于省电模式"时默认情况下将其禁用.

So what was the problem ? It seems that code analysis is battery hungry and it is desactivated by default when your laptop is on Power Saving Mode.

取消选中省电模式"和Voilà"!

Uncheck Power Saving Mode, and Voilà !

更多推荐

Android Studio未显示快速修复灯泡

本文发布于:2023-11-05 19:03:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1561606.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:灯泡   快速   Android   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!