title: appcompat_v7 error in eclipse
body: <p>I am a newbie at android development.I created a new project but along with it appcompat_v7 also got created.Now my project does not run since appcompat_v7 has errors.
  The error is only in the appcompat_v7-> res-> values-v21-> style_base.xml on the following line</p>
  
  <pre><code>&lt;style name="Base.Widget.AppCompat.ActionButton"
             parent="android:Widget.Material.ActionButton"&gt;
    &lt;/style&gt;
  </code></pre>
  
  <p>with the description  </p>
  
  <pre><code>Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'
  </code></pre>
  
  <p>I have tried cleaning and rebuilding the project but the error persists.How do I fix this?</p>
  
  <p>Here is the appcompat_v7 -> res -> values-v21 -> styles.xml
  This file is the one with the error on line 75:
  Error:</p>
  
  <pre><code>&lt;style name="Base.Widget.AppCompat.ActionButton"
             parent="android:Widget.Material.ActionButton"&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>This is the file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!--
       Copyright (C) 2014 The Android Open Source Project
  
       Licensed under the Apache License, Version 2.0 (the "License");
       you may not use this file except in compliance with the License.
       You may obtain a copy of the License at
  
            http://www.apache.org/licenses/LICENSE-2.0
  
       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       See the License for the specific language governing permissions and
       limitations under the License.
  --&gt;
  
  &lt;resources&gt;
  
      &lt;!-- Like in themes_base.xml, the namespace "*.AppCompat.Base" is used to
       define base styles for the platform version. The "*.AppCompat"
       variants are for direct use or use as parent styles by the app. --&gt;
      &lt;eat-comment/&gt;
  
      &lt;style name="Base.Widget.AppCompat.ActionBar.TabView"
             parent="android:Widget.Material.ActionBar.TabView"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.ActionBar.TabView"
             parent="android:Widget.Material.Light.ActionBar.TabView"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.ActionBar.TabText"
             parent="android:Widget.Material.ActionBar.TabText"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.ActionBar.TabText"
             parent="android:Widget.Material.Light.ActionBar.TabText"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.ActionBar.TabText.Inverse"
             parent="android:Widget.Material.Light.ActionBar.TabText"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Menu"
             parent="android:TextAppearance.Material.Widget.ActionBar.Menu"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title"
             parent="android:TextAppearance.Material.Widget.ActionBar.Title"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle"
             parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse"
             parent="android:TextAppearance.Material.Widget.ActionBar.Title.Inverse"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse"
             parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Title"
             parent="android:TextAppearance.Material.Widget.ActionMode.Title"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.ActionMode.Subtitle"
             parent="android:TextAppearance.Material.Widget.ActionMode.Subtitle"&gt;
      &lt;/style&gt;
  
      &lt;!-- Action Button Styles --&gt;
  
      &lt;style name="Base.Widget.AppCompat.ActionButton"
             parent="android:Widget.Material.ActionButton"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.ActionButton.CloseMode"
             parent="android:Widget.Material.ActionButton.CloseMode"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.ActionButton.Overflow"
             parent="android:Widget.Material.ActionButton.Overflow"&gt;
      &lt;/style&gt;
  
      &lt;!--
          Widget.AppCompat.Toolbar style is purposely ommitted. This is because the support
          Toolbar implementation is used on ALL platforms and relies on the unbundled attrs.
          The supporting Toolbar styles below only use basic attrs so work fine.
      --&gt;
  
      &lt;style name="Base.Widget.AppCompat.Toolbar.Button.Navigation"
             parent="android:Widget.Material.Toolbar.Button.Navigation"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Title"
             parent="android:TextAppearance.Material.Widget.ActionBar.Title"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle"
             parent="android:TextAppearance.Material.Widget.ActionBar.Subtitle"&gt;
      &lt;/style&gt;
  
      &lt;!-- Spinner Widgets --&gt;
  
      &lt;style name="Base.Widget.AppCompat.ListView.DropDown"
             parent="android:Widget.Material.ListView.DropDown"/&gt;
  
      &lt;style name="Base.Widget.AppCompat.DropDownItem.Spinner"
             parent="android:Widget.Material.DropDownItem.Spinner"/&gt;
  
      &lt;style name="Base.Widget.AppCompat.Spinner" parent="android:Widget.Material.Spinner" /&gt;
  
      &lt;style name="Base.Widget.AppCompat.Spinner.DropDown.ActionBar" parent="android:Widget.Material.Spinner"&gt;
          &lt;item name="spinnerMode"&gt;dropdown&lt;/item&gt;
          &lt;item name="disableChildrenWhenDisabled"&gt;true&lt;/item&gt;
          &lt;item name="popupPromptView"&gt;@layout/abc_simple_dropdown_hint&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.ListView.Menu"
             parent="android:Widget.Material.ListView" /&gt;
  
      &lt;!-- Popup Menu --&gt;
  
      &lt;style name="Base.Widget.AppCompat.ListPopupWindow" parent="android:Widget.Material.ListPopupWindow"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.PopupMenu" parent="android:Widget.Material.PopupMenu"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.PopupMenu"
          parent="android:Widget.Material.Light.PopupMenu"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.PopupMenu.Overflow"&gt;
          &lt;item name="android:dropDownHorizontalOffset"&gt;-4dip&lt;/item&gt;
          &lt;item name="android:overlapAnchor"&gt;true&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.PopupMenu.Overflow"&gt;
          &lt;item name="android:dropDownHorizontalOffset"&gt;-4dip&lt;/item&gt;
          &lt;item name="android:overlapAnchor"&gt;true&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Large"
          parent="android:TextAppearance.Material.Widget.PopupMenu.Large"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Widget.PopupMenu.Small"
          parent="android:TextAppearance.Material.Widget.PopupMenu.Small"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Large"
          parent="android:TextAppearance.Material.Widget.PopupMenu.Large"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.Light.Widget.PopupMenu.Small"
          parent="android:TextAppearance.Material.Widget.PopupMenu.Small"&gt;
      &lt;/style&gt;
  
      &lt;!-- Search View result styles --&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.SearchResult.Title"
             parent="@android:TextAppearance.Material.SearchResult.Title"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.TextAppearance.AppCompat.SearchResult.Subtitle"
             parent="@android:TextAppearance.Material.SearchResult.Subtitle"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView" /&gt;
  
      &lt;style name="Base.Widget.AppCompat.Light.AutoCompleteTextView" parent="android:Widget.Material.AutoCompleteTextView" /&gt;
  
      &lt;!-- Progress Bar --&gt;
  
      &lt;style name="Base.Widget.AppCompat.ProgressBar.Horizontal"
             parent="android:Widget.Material.ProgressBar.Horizontal"&gt;
      &lt;/style&gt;
  
      &lt;style name="Base.Widget.AppCompat.ProgressBar"
             parent="android:Widget.Material.ProgressBar"&gt;
      &lt;/style&gt;
  
      &lt;!-- TODO. Needs updating for Material --&gt;
      &lt;style name="Base.Widget.AppCompat.ActivityChooserView" parent=""&gt;
          &lt;item name="android:gravity"&gt;center&lt;/item&gt;
          &lt;item name="android:background"&gt;@drawable/abc_ab_share_pack_holo_dark&lt;/item&gt;
          &lt;item name="android:divider"&gt;?attr/dividerVertical&lt;/item&gt;
          &lt;item name="android:showDividers"&gt;middle&lt;/item&gt;
          &lt;item name="android:dividerPadding"&gt;6dip&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>This is myproject -> res -> values -> styles.xml</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;!--
          Base application theme, dependent on API level. This theme is replaced
          by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
      --&gt;
      &lt;style name="AppBaseTheme" parent="Theme.AppCompat.Light"&gt;
          &lt;!--
              Theme customizations available in newer API levels can go in
              res/values-vXX/styles.xml, while customizations related to
              backward-compatibility can go here.
          --&gt;
      &lt;/style&gt;
  
      &lt;!-- Application theme. --&gt;
      &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;/resources&gt;
  </code></pre>