Reputation: 593
I changed my android plugin version to latest i.e. 3.3.0 and after syncing the project, the reference to R class has been lost and turned into red saying 'Cannot resolve symbol 'R''.
Upvotes: 2
Views: 965
Reputation: 398
I has updated my android studio version and after that were lots of errors. I had to reinstall android studio and after that all errors vanished. This does not required lots of time
Upvotes: 0
Reputation: 1715
Try
Build > Clean Project
and then Build > Rebuild Project
.File > Invalidate caches
Upvotes: 1