MRX
MRX

Reputation: 1442

R cannot be resolved to variable

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?enter image description here

Upvotes: 0

Views: 53

Answers (3)

user4078066
user4078066

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

Eleftherios
Eleftherios

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

Suhail Mehta
Suhail Mehta

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

Related Questions