title: Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' property 'streamOutputFolder' during up-to-date check
body: <p>I am working on an android project. And I am facing a problem that while running app in android I am getting error i.e. </p>
  
  <pre><code>"Error:Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' property 'streamOutputFolder' during up-to-date check.
  </code></pre>
  
  <blockquote>
    <p>Failed to create MD5 hash for file 'app\build\intermediates\transforms\dex\debug\folders\1000\5\slice_0\classes.dex'."</p>
  </blockquote>
  
  <p>And if I disable my antivirus I am able to run my app successfully and no error will occur. I am not able to understand what is happening. </p>