Skip to content Skip to sidebar Skip to footer

R Cannot Be Resolved Issues In My Android Project

I already cleaned the project , and set the automatic build after clean it up but there are 50 errors regarding the 'R cannot be resolved to a variable' how to fix this issues ? i

Solution 1:

This error is usually caused by either of these possibilities:

  • The most probable: You have a syntax error in any of your layout files (i.e., the files located under the res\layout folder of your project). The bad thing of this is that Eclipse won't warn you and tell you what's the error, so you'll have to go one by one looking for the syntax (probably an unmatched tag, an unmatched attribute, etc.) and fix the issue.

  • The other possibility is a syntax error within your AndroidManifest.xml file. Same goes here, check it for syntax errors.

One of these two will fix your issue.

Solution 2:

Post a Comment for "R Cannot Be Resolved Issues In My Android Project"