I have an Android Studio project with two library modules: foo-module
and bar-module
. Each implements a library, with foo-module
defin
Due to the fact that all the test classes (unit and instrumentation) are not a part of any module, including aar, they are not available via dependency to that module. I faced to this issue as well and solved it by creating test-module
and put all the required classes in it (src/main/java
).
So, in your case you can move AbstractTests
in this module and use this module as a androidTestCompile
dependency.