title: Gradle resValue causes duplicate string resources
body: <p>My Android manifest file defines the app name as follows:</p>
  
  <pre><code>android:label="@string/app_name"
  </code></pre>
  
  <p>A corresponding entry for app_name exists in res/values/strings.xml</p>
  
  <p>Now, in my build.gradle, I redefine the app name for beta build as follows:</p>
  
  <pre><code>buildTypes {
  
      beta {
          applicationIdSuffix ".beta"
          debuggable true
          resValue "string", "app_name", "MyTest Beta"
      }
  }
  </code></pre>
  
  <p>However, when I assemble the package, Gradle complains of a duplicate string resource.</p>
  
  <p>I could simply remove the app_name token from string.xml. However, in that case, Android Studio reports a problem with the manifest file.</p>
  
  <p>How do I fix this? Regards.</p>