title: Android Studio: cannot create release-specific Res folder
body: <p>My project is configured with the usual builds: <em>debug</em> and <em>release</em>.</p>
  
  <p>Unfortunately I'm having troubles creating build-specific Res folders: the <em>debug</em> Res folder is created correctly, while the <em>release</em> Res folder is created as a standard folder.</p>
  
  <p>The procedure I followed is:</p>
  
  <ul>
  <li>I selected "Project" in the top left dropdown</li>
  <li>Inside App\src I created two folders: <em>debug</em> and <em>release</em>.</li>
  <li>On each of these new folders: Right click -> New -> Folder -> Res folder -> (the correct path is shown) -> Finish</li>
  </ul>
  
  <p>This is the result:</p>
  
  <p><a href="https://i.stack.imgur.com/LcX0N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LcX0N.png" alt="enter image description here"></a></p>
  
  <p>The Res folder inside <em>release</em> has the wrong icon.</p>
  
  <p>I tried to use the <em>release</em> Res folder as is, placing the needed files in it:</p>
  
  <p><a href="https://i.stack.imgur.com/yqtd4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yqtd4.png" alt="enter image description here"></a></p>
  
  <p>Unfortunately, files in <em>release</em>\Res don't get recognized:</p>
  
  <p><a href="https://i.stack.imgur.com/bEH0B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bEH0B.png" alt="enter image description here"></a></p>
  
  <p>I tried to find a way to somhow "convert" a standard folder to a Res one, without success.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>As suggested by <strong>aiqency</strong> I tried <strong>ctrl+shift+a</strong> -> <strong>Mark Directory as</strong> -> <strong>Resource root</strong>.
  Folder icon changes to the right one (with orange lines), but in Android view documents are still not shown for (<em>release</em>).
  If i close and reopen Android Studio, Res folder icon reverts to standard one (no orange lines).</p>
  
  <p><strong>UPDATE 2:</strong></p>
  
  <p>I tried to update Android Studio to the latest version (3.6.1 build #AI-192.7142.36.36.6241897).
  Then I created a new, no-activity project.</p>
  
  <p>Same behaviour...</p>
  
  <p>Any clue?</p>
  
  <p>Thank you!</p>