Reputation: 1442
I have pulled my project from github and since then I got the issue “R cannot be resolved to a variable” . Also my folder inside res folder started appearing grey. Below is the screen shots. can anybody help me to solve this issue?
Upvotes: 0
Views: 53
Reputation:
you need to update your ADT plugins because you imported example may its not suppoted..follow this it will give you idea Eclipse error: R cannot be resolved to a variable
Upvotes: 0
Reputation: 306
What IDE do you use? However first of all check your AndroidManifestXml for errors. Check if paths are right. After that try to clean/build your project. I hope to help you
Upvotes: 0
Reputation: 5542
There will an error in your res folder that is hindering the formation of R.java. See if there is any error in res and then clean the project.
Upvotes: 2