title: R.layout.main cannot be resolved
body: <p>Using Eclipse on win XP. I've previously created an app or 2, but am now working on the 'real' version and get the above error.</p>
  
  <p>I was having funnies creating a 1.5 version, so have started a new project for 2.1.</p>
  
  <pre><code>package xxx.guest;
  
  import android.R;
  import android.app.Activity;
  import android.content.Context;
  import android.graphics.Bitmap;
  import android.os.Bundle;
  import android.widget.Button;
  import android.widget.EditText;
  import android.widget.ImageView;
  import android.widget.TextView;
  
  public class briefme extends Activity {
  
   private String strURL;
             ........
             ........ 
  
   @Override
   public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main ); 
  </code></pre>
  
  <p>Project as below (note I've removed some names for confidentiality reasons!)</p>
  
  <p>Any ideas what's gone wrong?</p>
  
  <p>Thanks,</p>
  
  <p>Martin.</p>
  
  <p><a href="http://it-helps.co.uk/eclipse_err.jpg" rel="noreferrer">Project screenshot here</a></p>