title: Error retrieving parent for item: 'Theme.AppCompat.Light' in eclipse
body: <p>I'm trying to use ActionBarActivity in my project. I've imported the android-support-v7-appcompat to the workspace as per the instruction in  <a href="https://developer.android.com/tools/support-library/setup.html#" rel="nofollow noreferrer">https://developer.android.com/tools/support-library/setup.html#</a></p>
  
  <p>I could add the appcompat project as a library in my current project (eclipse). </p>
  
  <p><img src="https://i.stack.imgur.com/hAX7z.png" alt="Got the Green tick mark"> </p>
  
  <p>And now there is no error when I use the following import statement.</p>
  
  <pre><code>import android.support.v7.app.ActionBarActivity;
  </code></pre>
  
  <p>And no error when I extend my class from ActionBarActivity.</p>
  
  <pre><code>public class MyClass extends  ActionBarActivity implements ActionBarListener  {....} 
  </code></pre>
  
  <p>But, I get errors while using the AppCompat style.</p>
  
  <p>In manifest,</p>
  
  <pre><code>&lt;activity
          android:name=".Activity1"
          android:label="@string/app_name"
          android:screenOrientation="portrait" 
          android:theme="@style/AppTheme"
          &gt;
          ....
  
      &lt;/activity&gt;
  </code></pre>
  
  <p>In styles.xml,</p>
  
  <pre><code>&lt;style name="AppTheme" parent="AppBaseTheme"&gt;
      &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
  
  &lt;/style&gt;
  
  
  &lt;style name="AppBaseTheme" parent="Theme.AppCompat.Light"&gt;
      &lt;!-- API 11 theme customizations can go here. --&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I get the following error in styles.xml while using parent="Theme.AppCompat.Light"
  ** error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.**</p>
  
  <p>Why am I not able to access the resources from the appcompat support library.</p>
  
  <p>P.s: I've not used <code>android:showAsAction="never"</code></p>
  
  <p>Both my application project and appcompat are in the same folder( I copied both to the current workspace).  </p>