Cannot run ./gradlew connectedInstrumentTest
问题 I set up a basic instrument test in Android Studio in my src/androidTest/java folder. Now I want to run this test and everywhere I get the information to call ./gradlew connectedInstrumentTest on my OS X terminal. But that results in an error "Task 'connectedInstrumentTest' not found in project". If I look at ./gradlew tasks the instrument task is not listed. Do I have to set anything else up in my project/build.gradle? No tutorial or docu tells me to do so, so I'm a bit confused. Has anyone