Skip to content Skip to sidebar Skip to footer

Testcompile Results In Android Studio Not Resolving Dependencies

I have my tests in MainProject/Project/src/test. I am using Jake Wharton's gradle-android-test-plugin. Whenever I specify a dependency with testCompile, it doesn't auto-complete in

Solution 1:

I've had the same problem. My temporary solution is to repeat the testCompile dependencies in instrumentTestCompile.

This way, the Android Studio recognises the instrumentTestCompile dependencies and starts auto-completing.

Post a Comment for "Testcompile Results In Android Studio Not Resolving Dependencies"