Error in Android Getting Started Guide
<p>I am a computer science student and I'm trying to teach myself Android development using Android's 'Getting Started Guide.' However, on the page 'Starting An Activity' ( <a href="http://developer.android.com/training/basics/activity-lifecycle/starting.html" rel="nofollow">http://developer.android.com/training/basics/activity-lifecycle/starting.html</a> ) I get errors on both of the following lines of code samples:</p>

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

<p>and </p>

<pre><code>mTextView = (TextView) findViewById(R.id.text_message);
</code></pre>

<p>Specifically on <code>.main_activity</code> and <code>.text_message</code>. It cannot be resolved to <code>R.id</code> and I am not allowed to modify this file. I'm strictly going by the Getting Started Guide here. Didn't know if anyone else had this problem or know where I borked on this. Thanks.</p>
