Red underline res folder in android studio

Viewed 4884

I have the situation shown the following picture. Project built successfully, but it's just annoying to see the red error warning.

How do I solve it?

3 Answers

See the Picture

Please Invalidate Caches and restart your IDE

The naming of the file also counts, remove all hyphens if there are any

Sometimes I'm seeing same picture. Gradle sync or Android studio restart helps me.

Related