I\'m writing my unit tests using gradle in Android Studio. I have the tests located in:
src/androidTest/java
That works just fine. N
I found the solution, add this to your build.gradle file.
sourceSets { androidTest { java.srcDirs = ['src/androidTest/src'] resources.srcDirs = ['src/androidTest/src'] } }