title: No generated R.java file in my project
body: <p>I am doing the <a href="http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html" rel="noreferrer">Notepad tutorial, exercise 2</a>. I started by creating a new Android project and chose <em>Create from source</em> to import the downloaded source files for the excercise.</p>
  
  <p>But now I get many errors in Eclipse, and the problem is that there is no generated <code>R.java</code> class. How can I solve this? The folder <code>gen/</code> is empty.</p>
  
  <hr>
  
  <p>I have errors on <code>Notepadv2.java</code> and in <code>res/layout/note_edit.xml</code> and both seems to be related to the fact that the generated <code>R.java</code> is missing.</p>
  
  <p>Here is my <code>import</code> statements in <code>Notepadv2.java</code>:</p>
  
  <pre><code>import android.R;
  import android.app.ListActivity;
  import android.content.Intent;
  import android.database.Cursor;
  import android.os.Bundle;
  import android.view.ContextMenu;
  import android.view.ContextMenu.ContextMenuInfo;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.ListView;
  import android.widget.SimpleCursorAdapter; 
  </code></pre>
  
  <p>They are created by the Eclipse command <strong>Ctrl+Shift+O</strong>.</p>