title: String resource from debug variant does not work
body: <p>I used to have defined an application name as a resource in the gradle:</p>
  
  <pre><code>android {
   compileSdkVersion 26
   buildToolsVersion '26.0.1'
   defaultConfig {
      applicationId "lelisoft.com.lelimath"
      resValue 'string', 'app_name', 'LeliMath'
   }
   buildTypes {
      debug {
          applicationIdSuffix ".debug"
          resValue 'string', 'app_name', 'LeliMath DEV'
      }
   }
  </code></pre>
  
  <p>Then I found a need for a localization, so I deleted all <code>resValue</code> from the gradle and defined in in <code>strings.xml</code>:</p>
  
  <pre><code>app\src\debug\res\values\strings.xml
  &lt;string name="app_name"&gt;LeliMath DEV&lt;/string&gt;
  
  app\src\main\res\values\strings.xml
  &lt;string name="app_name"&gt;Leli Math&lt;/string&gt;
  
  app\src\main\res\values-cs\strings.xml
  &lt;string name="app_name"&gt;Leli Matematika&lt;/string&gt;
  </code></pre>
  
  <p>When I compile my application in Studio, it displays Leli Matematika. I expected LeliMath DEV. I was inspired by this answer <a href="https://stackoverflow.com/a/37579475/1639556">https://stackoverflow.com/a/37579475/1639556</a>.</p>