title: Execution failed for task ':react-native-admob:verifyReleaseResources'
body: <p>I had a third-party dependency (react-native-admob) which specified in its build.gradle file the following: com.google.android.gms:play-services-ads:+. Taking a look over at the Google Android APIs release notes page, there were breaking updates to the whole com.google.android.gms group of APIs on 17th June 2019. </p>
  
  <p>I run './gradlew assembleDebug' got error:</p>
  
  <blockquote>
    <p>/Users/yons/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/8cb1ac92f08bb5fb26b003aaf1d22a69/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/fontVariationSettings not found.</p>
    
    <p>/Users/yons/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/8cb1ac92f08bb5fb26b003aaf1d22a69/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/ttcIndex not found.</p>
  </blockquote>
  
  <p>To fix my issue, I added the following to my android/app/build.gradle file:</p>
  
  <pre><code>configurations.all {
      resolutionStrategy.force 'com.google.android.gms:play-services-ads:17.2.1'
  }
  </code></pre>
  
  <p>Now, I run './gradlew assembleDebug' works fine. 
  But I run './gradlew assembleRelease' got an error:</p>
  
  <blockquote>
    <p>/Users/yons/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/8cb1ac92f08bb5fb26b003aaf1d22a69/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/fontVariationSettings not found.</p>
    
    <p>/Users/yons/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/8cb1ac92f08bb5fb26b003aaf1d22a69/res/values/values.xml:251:5-69: AAPT: error: resource android:attr/ttcIndex not found.</p>
    
    <p>error: failed linking references.</p>
    
    <p>FAILURE: Build failed with an exception.</p>
    
    <ul>
    <li>What went wrong:
    Execution failed for task ':react-native-admob:verifyReleaseResources'.
    com.android.ide.common.process.ProcessException: Failed to execute aapt</li>
    </ul>
  </blockquote>
  
  <p>How can I solve it?</p>