Problems with R.layout.main
<p>I am having a hard time trying to get my way around this. I just started a new project, and without doing anything the project shows this error at the <code>mainactivity.java</code> src, right at this line...</p>

<pre><code>setContentView(R.layout.activity_main);
</code></pre>

<p>gives me "R cannot be resolve to a variable", ok, "quick fixes" gives me among others the option to import R, I go ahead and do it, then I got a new error " activity_main cannot be resolved or is not a field" and then quick fixes gives me just one option, "change to activity_list_item", so my question is: why all this is happening?</p>

<p>and then on this method</p>

<pre><code>public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
</code></pre>

<p>I get same error at <code>R.menu.main</code>, but now I do not get any options???</p>

<p>I am having a hard time with this <code>R.java</code>. I tried all possible fixes I found at this forum but none of them work.
help please. thanks</p>
