How to read json file from Asset folder when testing by Espresso?
Do not pass the activity as the context. Instead pass InstrumentationRegistry.getContext()
and see if that helps.
Do not pass the activity as the context. Instead pass InstrumentationRegistry.getContext()
and see if that helps.