title: Error:Attribute "theme" has already been defined
body: <p>I am using Android studio for building application. I am using this following dependencies:</p>
  
  <ol>
  <li>play services  : <code>compile 'com.google.android.gms:play-services:5.2.08'</code></li>
  <li>app combat v7  : <code>compile 'com.android.support:appcompat-v7:21.0.0'</code></li>
  <li>support Cardview :  <code>compile 'com.android.support:cardview-v7:21.0.0'</code></li>
  <li>support Recycler view : <code>compile 'com.android.support:recyclerview-v7:21.0.0'</code></li>
  </ol>
  
  <p>I am getting following error while building my app:</p>
  
  <pre><code>app/build/intermediates/exploded-aar/com.google.android.gms/play-services/5.2.08/res/values/wallet_attrs.xml
      Error:Attribute "theme" has already been defined
  </code></pre>
  
  <p>Code Styles.xml</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;!-- Base application theme. --&gt;
      &lt;style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;!-- Customize your theme here. --&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>Code wallet_attrs.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;!-- Copyright 2014 Google Inc. All Rights Reserved. --&gt;
  &lt;resources&gt;
      &lt;!-- Attributes for the WalletFragment &amp;lt;fragment&amp;gt; tag --&gt;
      &lt;declare-styleable name="WalletFragmentOptions"&gt;
          &lt;!-- Theme to be used for the Wallet selector --&gt;
          &lt;attr name="theme" format="enum"&gt;
              &lt;enum name="holo_dark" value="0"/&gt;
              &lt;enum name="holo_light" value="1"/&gt;
          &lt;/attr&gt;
          &lt;!-- Google Wallet environment to use --&gt;
          &lt;attr name="environment" format="enum"&gt;
              &lt;enum name="production" value="1"/&gt;
              &lt;enum name="sandbox" value="0"/&gt;
              &lt;enum name="strict_sandbox" value="2"/&gt;
          &lt;/attr&gt;
          &lt;!-- A style resource specifing attributes to customize the look and feel of WalletFragment --&gt;
          &lt;attr name="fragmentStyle" format="reference"/&gt;
          &lt;!-- Fragment mode --&gt;
          &lt;attr name="fragmentMode" format="enum"&gt;
              &lt;enum name="buyButton" value="1"/&gt;
              &lt;enum name="selectionDetails" value="2"/&gt;
          &lt;/attr&gt;
      &lt;/declare-styleable&gt;
  
      &lt;!-- Attributes that may be specified in a style resource to customize the look and feel of
           WalletFragment --&gt;
      &lt;declare-styleable name="WalletFragmentStyle"&gt;
          &lt;!-- Height of the buy button. This includes an 8dp padding (4dp on each side) used for
               pressed and focused states of the button. The value can be a specific height, e.g.
               "48dp", or special values "match_parent" and "wrap_content". --&gt;
          &lt;attr name="buyButtonHeight" format="dimension"&gt;
              &lt;enum name="match_parent" value="-1" /&gt;
              &lt;enum name="wrap_content" value="-2" /&gt;
          &lt;/attr&gt;
          &lt;!-- Width of the buy button. This includes an 8dp padding (4dp on each side) used for
               pressed and focused states of the button. The value can be a specific width, e.g.
               "300dp", or special values "match_parent" and "wrap_content". --&gt;
          &lt;attr name="buyButtonWidth" format="dimension"&gt;
              &lt;enum name="match_parent" value="-1" /&gt;
              &lt;enum name="wrap_content" value="-2" /&gt;
          &lt;/attr&gt;
          &lt;!-- Text on the buy button. Must be one of "buy_with_google", "buy_now" and "book_now" --&gt;
          &lt;attr name="buyButtonText" format="enum"&gt;
              &lt;enum name="buy_with_google" value="1"/&gt;
              &lt;enum name="buy_now" value="2"/&gt;
              &lt;enum name="book_now" value="3"/&gt;
          &lt;/attr&gt;
          &lt;!-- Appearance of the buy button. Must be one of "classic", "grayscale" and "monochrome" --&gt;
          &lt;attr name="buyButtonAppearance" format="enum"&gt;
              &lt;enum name="classic" value="1"/&gt;
              &lt;enum name="grayscale" value="2"/&gt;
              &lt;enum name="monochrome" value="3"/&gt;
          &lt;/attr&gt;
          &lt;!-- TextAppearance for masked wallet details --&gt;
          &lt;attr name="maskedWalletDetailsTextAppearance" format="reference"/&gt;
          &lt;!-- TextAppearance for headers describing masked wallet details --&gt;
          &lt;attr name="maskedWalletDetailsHeaderTextAppearance" format="reference"/&gt;
          &lt;!-- Masked wallet details background --&gt;
          &lt;attr name="maskedWalletDetailsBackground" format="reference|color"/&gt;
          &lt;!-- TextAppearance for the "Change" button in masked wallet details view --&gt;
          &lt;attr name="maskedWalletDetailsButtonTextAppearance" format="reference"/&gt;
          &lt;!-- "Change" button background in masked wallet details view --&gt;
          &lt;attr name="maskedWalletDetailsButtonBackground" format="reference|color"/&gt;
          &lt;!-- Color of the Google Wallet logo text in masked wallet details view --&gt;
          &lt;attr name="maskedWalletDetailsLogoTextColor" format="color"/&gt;
          &lt;!-- Type of the wallet logo image in masked wallet details view --&gt;
          &lt;attr name="maskedWalletDetailsLogoImageType" format="enum"&gt;
              &lt;enum name="classic" value="1"/&gt;
              &lt;enum name="monochrome" value="2"/&gt;
          &lt;/attr&gt;
      &lt;/declare-styleable&gt;
  &lt;/resources&gt;
  </code></pre>