title: Getting error says - "Entry name 'res/layout/test_toolbar.xml' collided" while creating signed apk
body: <p>I have updated my android studio from <strong>3.5.x</strong> to <strong>3.6</strong> today and getting an error while generating signed apk for build variant showing the following message - <code> Entry name 'res/layout/test_toolbar.xml'</code> collided
  I don't have any layout named like this one in the whole project at all. I have a custom build variant named &quot;<strong>stage</strong>&quot; and whenever I am trying to build a signed apk, it always fails. I count find any solution yet. Please help me with this issue. Thanks</p>
  <p><strong>Update:</strong>
  The same issue can occur with these following messages too (As I found it in <strong>AS - 3.6.1</strong> - <strong>Continues with 4.x.x sometimes</strong>). So don't worry about these kinds of unknown and not resolvable messages. So far I found two new types of messages while generating signed apk:</p>
  <ul>
  <li><code>Entry name 'kotlin/collections/MapWithDefault.kotlin_metadata' collided</code></li>
  <li><code>Access Denied</code></li>
  </ul>
  <p>The result is the same. Sometimes you may need to <code>Invalidate Cache and Restart</code> your AS for this. Let me know your findings. Thanks</p>
  <p><strong>The fast solution is:</strong> (as of the most popular answer and I agree)</p>
  <ol>
  <li>delete projectFolder\build delete projectFolder\debug</li>
  <li>delete projectFolder\release</li>
  <li>delete projectFolder\app\build</li>
  <li>delete projectFolder\app\build\debug</li>
  <li>delete projectFolder\app\build\release</li>
  </ol>
  <p>So you need to delete all of the builds,
  debug and release directories.</p>
  <p>Note that you may be not able to delete the whole debug and release directories, but you can delete all of its contents.</p>