android tests often stall at ‘instantiating tests’

I had the same, issue would only occur when running as debug though. Never had it when running normally.

I fixed it by removing Test Orchestrator in my Build.gradle.

//Disable Me
//        testInstrumentationRunnerArguments clearPackageData: 'true'
//        testOptions {
//            execution 'ANDROID_TEST_ORCHESTRATOR'
//        }

Leave a Comment