title: R.java has been generated, still getting 'cannot be resolved to be a variable'
body: <p>I'm thinking it might have something to do with packages, but I can't find the error. There are no errors(red marks) in my xml files, and all my drawables and xml files conform to the naming convention. I have tried cleaning the project, and there are no import R.java anywhere. </p>
  
  <p>The classes that cannot find R.java is:</p>
  
  <pre><code>  com.datafetcher.main.Menu.java
    com.datafetcher.showperson.MainActivity.java
    com.datafetcher.showperson.DisplayMessageActivity.java
  </code></pre>
  
  <p>In the Android Manifest I have declared:</p>
  
  <pre><code> &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.datafetcher"
    ...
  </code></pre>
  
  <p>And the activities are declared:</p>
  
  <pre><code>&lt;activity
          android:name=".main.Menu"
          android:label="@string/title_activity_display_message"&gt;
            &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
  
      &lt;/activity&gt;
  
      &lt;activity
          android:name=".showperson.MainActivity"
          android:label="@string/app_name" 
          android:parentActivityName="com.datafetcher.main.Menu" &gt;
  
  
      &lt;/activity&gt;
  
      &lt;activity
          android:name=".showperson.DisplayMessageActivity"
          android:label="@string/title_activity_display_message"
          android:parentActivityName="com.datafetcher.main.Menu" &gt;
  
      &lt;/activity&gt;
  </code></pre>
  
  <p>My R.java is generated as gen/com.datafetcher.R.java.
  Why can't I use it in my code?</p>
  
  <p>This is a nice 5 second edit. Am I actually supposed to import com.datafetcher.R? I just tried for some reason, and it works. I have never done this before, I assumed it was done implicitly somehow.</p>