title: migrating to material design
body: <p>I am trying to migrate my android application to material design. I am following <a href="http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html" rel="nofollow">this</a> tutorial.
  However, when I try to build or run the app,I get the following errors</p>
  
  <pre><code>/home/shimba/kaa/kAA/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.2/res/values-v11/values.xml
  Error:(50, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(50, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(50, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(50, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  /home/shimba/kaa/kAA/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.2/res/values-v14/values.xml
  Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  Error:(9, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
  /home/shimba/kaa/kAA/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.2/res/values-v21/values.xml
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body1'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Body2'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Caption'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Menu'.
  Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.
  Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Subhead'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.ActionBar'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Dark.ActionBar'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:ThemeOverlay.Material.Light'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'.
  Error:(298, 21) No resource found that matches the given name: attr 'android:overlapAnchor'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'.
  Error:(298, 21) No resource found that matches the given name: attr 'android:overlapAnchor'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'.
  Error:Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'.
  Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'.
  Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'.
  Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'.
  Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'.
  Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'.
  Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'.
  Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'.
  Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'.
  Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'.
  Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'.
  Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'.
  Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'.
  Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'.
  Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'.
  Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'.
  Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'.
  Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'.
  Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'.
  Error:(144, 21) No resource found that matches the given name: attr 'android:colorAccent'.
  Error:(146, 21) No resource found that matches the given name: attr 'android:colorControlActivated'.
  Error:(147, 21) No resource found that matches the given name: attr 'android:colorControlHighlight'.
  Error:(145, 21) No resource found that matches the given name: attr 'android:colorControlNormal'.
  Error:(142, 21) No resource found that matches the given name: attr 'android:colorPrimary'.
  Error:(143, 21) No resource found that matches the given name: attr 'android:colorPrimaryDark'.
  </code></pre>
  
  <p>Where am I going wrong? I am using android studio. I have the following dependencies in my gradle file</p>
  
  <pre><code>dependencies {
  //compile project(':universalImageLoaderLibrary3')
  compile 'com.android.support:support-v4:20.+'
  //compile 'com.android.support:appcompat-v7:20.+'
  compile project(':universalImageLoaderLibrary3')
  compile 'com.android.support:appcompat-v7:21.0.+'
  }
  </code></pre>
  
  <p>Please help.</p>