Eclipse Java Android compile error
<p>Why is this error happening?</p>

<p><a href="http://img35.imageshack.us/img35/4883/whyerror.png" rel="nofollow">http://img35.imageshack.us/img35/4883/whyerror.png</a></p>

<p>I thought that <code>R</code> was the automatically generated class I am not supposed to touch?</p>

<p>thanks</p>

<p>//Anything above had no errors</p>

<pre><code>    public boolean onCreateOptionsMenu(Menu menu)
    {
        getMenuInflater().inflate(R.menu.lovemenu, menu); //ERROR HERE
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) 
    {
        switch(item.getItemId()) 
        {

            default:
                break;
        }

        return true;
    }


}
</code></pre>
