title: Android - R cannot be resolved to a variable
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/885009/r-cannot-be-resolved-android-error">R cannot be resolved - Android error</a>  </p>
  </blockquote>
  
  
  
  <p>I am having a issue which I have had before and I don't understand the cause. My project and code is fine as it was running yesterday. I have open Eclipse today and the whole project looks like it contains errors.</p>
  
  <p>I believe it is some sort of build path issue. I don't understand why it randomly occurs? But in the code where there is <code>R.Layout.LayoutName</code> there is an issue... can anyone help?</p>
  
  <p>I have tried cleaning and building it, I have tried importing android.R but I didn't have this before,  it then gives and error and says the layout file doesn't exist. </p>