Vitalii
Vitalii

Reputation: 11081

Android Studio 3.2 cannot resolve symbols in the layout

I've just updated my Android Studio to 3.2 version. In my html layout I see that some ids are red and message is cannot resolve symbol '@id/...

enter image description here

As you can see at the picture, element with the not resolved id is declared just above. App builds without any problem.

Any ideas about fix?

Upvotes: 0

Views: 909

Answers (1)

rOOb85
rOOb85

Reputation: 233

Easiest way I have found to deal with this is to close the project and re-import it.

File -> Close Project
Import Project(Gradle, Eclipse ADT, etc.)

This bug drives me absolutely insane. I hope this helps someone else!

Upvotes: 1

Related Questions