title: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'
body: <p>I get this error when trying to use latest Google Play Services SDK:</p>
  
  <pre><code>C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
  </code></pre>
  
  <p>I am targetting <code>android-19</code> but have also tried <code>android-21</code> with same result. I have the Android Support Library
  <a href="https://i.stack.imgur.com/Aj7Xr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Aj7Xr.png" alt="enter image description here"></a></p>
  
  <p>If I use older version of Google Play Services (rev. 21), the error is not there. Also there is no folder <code>values-v21</code> in the earlier version. How to fix this error?</p>
  
  <p>EDIT: I have tried using API 21 but this error persists.
  in <code>manifest.xml</code>:</p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="21"        
        android:targetSdkVersion="21" /&gt;
  </code></pre>
  
  <p>in <code>project.properties</code>:</p>
  
  <pre><code>target=android-21
  </code></pre>