Since yesterday my IntelliJ IDE is a bit messed up.
The imports, for example all of the android.support.v4 or com.google.analytics package, are shown as not resolved and red highlighted in the editor. Nevertheless compiling and running the project works fine.
Any ideas how to fix this? It’s a mayor blocker.
In case everything builds and works fine, just not the editor highlighting, the first thing to try is
File|Invalidate Cachesand restart the IDE.