title: Android R.java will not generate in Eclipse
body: <p>I am running Eclipse 4.2.2 Juno on Windows 64-bit for development on Android SDK 17 with ADT. Just today, I cleaned a working project, only to find that the R.java file would no longer generate.</p>
  
  <p>This problem has a very divergent list of possible causes. User Gray, <a href="https://stackoverflow.com/questions/7824730/r-cannot-be-resolved-to-a-variable">in response to the thread located here</a>, listed a set of articles, all addressing different possible causes.</p>
  
  <p>He says:  </p>
  
  <blockquote>
    <p>Dont worry. First you may clean the project, then run the project. If
    this does not work then follow the following links:</p>
  </blockquote>
  
  <p>And then proceeds to list articles pertaining to different causes of this problem, the links to which I am unable to include, but can be found in the question linked to above.</p>
  
  <p>Gray's comment is a good summary of the most common causes to this problem, including resource file naming convention, the erroneous "import Android.R" statement, XML errors, corruption requiring cleaning and rebuilding, and checking the Android SDK in Project -> Properties -> Java Build Path / Libraries.</p>
  
  <p>The problem is, my R.java still doesn't generate! The only remaining possibility within Gray's list seems to be that either my main.xml or AndroidManifest.xml is broken, so I have included them to make sure I didn't miss any errors.</p>
  
  <p>My main layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" &gt;
  &lt;com.bostonwalker.sseng.SSSurfaceView
      android:id="@+id/ssview"
      android:layout_width="match_parent"
      android:layout_height="match_parent" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>And my manifest:</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.bostonwalker.enginedev"
  android:versionCode="1"
  android:versionName="1.0" &gt;
  
  &lt;uses-sdk
      android:minSdkVersion="8"
      android:targetSdkVersion="17" /&gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
  
      &lt;activity
          android:name=".MainActivity"
          android:label="@string/app_name"    &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;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>As a beginner Android programmer, this is beyond my capability to debug. Can someone please find an explanation?</p>