“R cannot be resolved to a variable”? [duplicate]

In Eclipse, I’ve created a project from a source and now it shows errors – “R cannot be resolved to a variable”. From what I found here, I had cleared and rebuilt the project, but still the R file doesn’t appear in the /gen folder.

Any ideas?

30 Answers
30

Leave a Comment