title: import .R cannot be resolved when I import actionbarsherlock
body: <p>I want to be able to use the action bar in my android project (2.3), so I am trying to import the actionbarsherlock library. However, I am having problems.... </p>
  
  <p>I've imported the library, edited the build path of my android project to include the library, and also deleted the android-support-v4 jar from the ABS /libs directory and copied my project's android-support-v4 into the ABS /libs directory to solve the jar mismatch. However, now that I've done all those things, my project can't resolve myproject.R anywhere. I import myproject.R in almost all of my .java files, and they all have the same error ("The import com.myproject.R cannot be resolved"). In addition, when I clean my project, I get a lot of errors in the console window:</p>
  
  <p>They all go along the lines of:</p>
  
  <blockquote>
    <p>error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.</p>
  </blockquote>
  
  <p>To my knowledge, R is where all of the layout information is stored, so I have no idea why this is even a problem...</p>
  
  <p>I've been working on this error for days, and I'm extremely frustrated and finally decided to take it to stack overflow. Thanks guys for the help!</p>