I have the annoying issue with Android Studio 2.0 beta 6.
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:
Everything is fine when I run gradle.
UPDATE
With Android Studio 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.
UPDATE 2
If I try to run unit tests from AS than I see classpath which includes:
**/core/build/intermediates/classes/test/debug
but doesn't include:
**/core/build/intermediates/classes/debug
Where are classes that missed right now