title: Android : menu cannot be resolved to a type
body: <p>This is how I do : </p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      super.onCreateOptionsMenu(menu);
      MenuInflater inflater = getMenuInflater();
      inflater.inflate(R.menu.game_menu, menu);
      return true;
  }
  </code></pre>
  
  <p>game_menu.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:id="@+id/new_game"
        android:title="@string/new_game"/&gt;
  &lt;item android:id="@+id/help"
        android:title="@string/help" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>But Eclipse keep telling me that menu is not a type... I tried to import R, clean my project and some others things i saw on the net.</p>
  
  <p>I cant bypass this problem with that :</p>
  
  <pre><code>@Override
      public boolean onCreateOptionsMenu(Menu menu) {
          menu.add(Menu.NONE, Menu.FIRST + 1, 5, "??").setIcon(
                  android.R.drawable.ic_menu_delete);
          menu.add(Menu.NONE, Menu.FIRST + 2, 2, "??").setIcon(
                  android.R.drawable.ic_menu_edit);
          return true; 
      }
  </code></pre>
  
  <p>Thank you in advance and sorry for my spelling.</p>