Android Studio 没有显示任何错误? [英] Android Studio not showing any errors?
问题描述
我不知道发生了什么
但是当我复制粘贴代码或写一些东西
未显示任何错误
I don't know what happened
but when i copy paste a code or write something
No Errors were shown
请参阅下图,其中我复制了代码但尚未导入
但是 Android Studio 没有显示任何错误.即使我 Ctr + Alt + O
它也不会导入任何东西
他们是否有任何设置可以恢复或其他任何设置?
See the picture below in which i copied a code but no imports yet
But Android studio doesn't show any error.
Even when i Ctr + Alt + O
It doesn't imports anything
Is their any setting to get it back or anything else?
我已经尝试更新所有可用的更新
I already tried updating all available updates
推荐答案
听起来您可能处于省电模式.在 File
菜单上检查它,就在 Exit
上方.在省电模式下,代码检查被禁用.
Sounds like you may be in power save mode. Check it on the File
menu, just above Exit
. While in power save, code inspection is disabled.
要再次运行代码检查,您可以:1) 退出省电模式,或 2) 使用 Analyze
上的 Inspect Code...
手动运行检查菜单.
To get code inspection running again, you can either: 1) exit power saver mode, or 2) run inspection manually with Inspect Code...
on the Analyze
menu.
这篇关于Android Studio 没有显示任何错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!