title: I have two R generated classes. How do I fix?
body: <p>I originally had my app all in one project.  I decided to rearrange things so I could have multiple projects referencing the same code, so I moved a package to a plain java library, and some others to an android library.</p>
  
  <p>The main app originally had two packages;</p>
  
  <pre><code>com.stuff           // standard java stuff
  com.stuff.android   // android specific stuff
  </code></pre>
  
  <p>When I rearranged, I moved all the com.stuff package to the plain java project and some of the com.stuff.android classes to an android library.  The main app now references both.</p>
  
  <p>Now my main app is generating two R classes!  One in com.stuff and one in com.stuff.android.  The android library has it's own R in com.stuff.android.  Neither the android library or app have classes in com.stuff anymore.  Only the plain java package has com.stuff package classes.</p>
  
  <p>Both R classes seem to have the same stuff, most of the time.  But sometimes weird things happen, and I need to clean all the projects and rebuild to get it to work again, and it's just annoying.</p>
  
  <p>Why is it doing this? How do I fix it?</p>
  
  <p>I am also using subclipse, so maybe it's interfering somehow with all the refactoring</p>