No error prompts after Android Studio or IDEA upgrade

question

Android Studio or Intellij IDEA sometimes does not prompt syntax errors,

reason

There are 2 reasons:

  1. Power saving mode is on
  2. Incompatible plugin installed

solve

For reason 1, turn off the power saving mode

For reason 2, uninstall incompatible plug-ins, such as the Butterknife plug-in commonly used in Android, and open the error message in the lower right corner of the editor

It shows that Android ButterKnife Zelezny is wrong, it is recommended to disable plugin, or uninstall this plugin, uncheck it

This is the reason why similar keywords are not highlighted. 

Guess you like

Origin blog.csdn.net/xiaowang_lj/article/details/129135864