Are you using a gradle project? A couple of things...
# intellij
k
Are you using a gradle project? A couple of things to try first:
gradle clean
, synchronize the gradle project and
File > Invalidate caches
.