title: Unresolved class references with Android Studio in tests
body: <p>I have the annoying issue with Android Studio 2.0 beta 6.</p>
  
  <p>I have multi-module project. And tests in one module (backend) are not compilable by Android Studio because it can not find references to classes from another module that it depends on:</p>
  
  <p><a href="https://i.stack.imgur.com/ClKiZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ClKiZ.jpg" alt="screenshot"></a></p>
  
  <p>Everything is fine when I run <strong>gradle</strong>.</p>
  
  <p><strong>UPDATE</strong> </p>
  
  <p>With <strong>Android Studio</strong> 1.5 I was able to run tests from all modules separately. I will investigate how to run all tests how it was before we were having flavours.</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>If I try to run unit tests from AS than I see classpath which includes:</p>
  
  <pre><code>**/core/build/intermediates/classes/test/debug
  </code></pre>
  
  <p>but doesn't include:</p>
  
  <pre><code>**/core/build/intermediates/classes/debug
  </code></pre>
  
  <p>Where are classes that missed right now</p>