res subolder ("R") not found ("R cannot be resolved to a variable")
<p>This is my first attempt at an Android app. I'm targeting Android 4/Ice Cream Sandwich.</p>

<p>When trying to run the app, I get the err msg "R cannot be resolved to a variable" on this line:</p>

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

<p>Yet main.xml IS there, below \res\layout\ as it should be.</p>

<p>What might the problem be with this as-yet as-minimal-as-possible app (the only code it has so far has been auto-generated)?</p>
