title: Android: Issues with R after importing v7 appcompat
body: <p>I imported the v7-appcompat support library following the instructions on the <a href="http://developer.android.com/tools/support-library/setup.html#add-library" rel="nofollow noreferrer">android developer site</a>, and ran into the missing R issue that many other users have encountered. I've read through <a href="https://stackoverflow.com/questions/18293088/adding-support-libraries-to-android-project">several</a> similar <a href="https://stackoverflow.com/questions/20523026/cannot-add-android-support-v7-to-my-project-build-path">questions</a> users <a href="https://stackoverflow.com/questions/20900832/java-lang-noclassdeffounderror-android-support-v7-appcompat-rstyleable">have</a> posted <a href="https://stackoverflow.com/questions/18563441/after-setting-up-android-support-v7-appcompat-r-java-is-missing">here</a>, and tried what was suggested but I'm still getting the missing R problem. I've re-imported the appcompat library, cleaned my project, restarted eclipse, changed my min and target SDK in both the manifest and properties, and still have the same issue. The exact error regarding R is "R cannot be resolved to a variable".</p>
  
  <p>Also, the attrs xml file in the values folder has an error that also showed up when I added the library but nobody else has mentioned. This is the code in the file:</p>
  
  <pre><code>&lt;declare-styleable name="ButtonBarContainerTheme"&gt;
      &lt;attr name="buttonBarStyle" format="reference" /&gt;
      &lt;attr name="buttonBarButtonStyle" format="reference" /&gt;
  &lt;/declare-styleable&gt;
  </code></pre>
  
  <p>The error Eclipse is giving me is "error: Attribute 'buttonBarStyle' has already been defined". Any help with this would be greatly appreciated!</p>