Android Studio not showing Inline Error

2019-08-23 05:28发布

问题:

I am using Android Studio(3.0) to make an Android App. But suddenly the Android Studio has stopped showing inline errors where as there are still errors which are shown while building the app.

Till now I have tried the below solution

1) Clean Project

2) Rebuild project

3) Invalidate cache and restart

4) Check if the power save mode is on

5) Resync the Gradle

6) Delete the .gradle and .idea folder

But none of them have been useful. This problem has started suddenly.

Any help would be really appreciated.

回答1:

Try running inspection manually with Inspect Code on the Analyze menu.

If that doesn't work then try doing this:

  1. BACK UP your project.
  2. Delete all .iml files and .idea folder.
  3. Relaunch Android Studio and import your project