testing-samples icon indicating copy to clipboard operation
testing-samples copied to clipboard

Espresso Must run under a registering instrumentation

Open tekinarslan opened this issue 8 years ago • 0 comments

I want to use espresso classes outside of android test package. I added espresso with compile keyword into gradle file and I access espresso classes into normal app classes. But, When I run app, I get an exception as "android espresso Must run under a registering instrumentation."

Our Android studio 3.0.0 and espress 3.0.0.

Thanks.

tekinarslan avatar Nov 02 '17 07:11 tekinarslan