shahooo
shahooo

Reputation: 593

Cannot resolve symbol 'R' after updating android plugin version (gradle version) to 3.3.0

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

Answers (2)

Valentin
Valentin

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

Bartek Pacia
Bartek Pacia

Reputation: 1715

Try

  1. Build > Clean Project and then Build > Rebuild Project.
  2. File > Invalidate caches

Upvotes: 1

Related Questions