I have recently migrated my project to use AndroidX, and have configured test orchestrator for my espresso tests on gradle using the following docs: https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator I have the dependency: androidTestUtil 'androidx.test:orchestrator:1.1.0-beta01' However, none of my tests are executed and looks like they fail when running gradle runs the following adb shell command i.e: adb shell 'CLASSPATH=$(pm path android.support.test.services) app_process / \ android.support.test.services.shellexecutor.ShellMain am instrument -w -e