Test Framework on KitKat 4.4 failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

Viewed 228

Client not ready yet.. Started running tests Test running failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException' Empty test suite.

2 Answers

Either you put your tests in "test" folder of your Android Studio project and should put them in "androidTest" folder, or the other way around.

I ran into this error and fixed it by Migrating the project to Androidx.

Related