How to solved “Test running failed: Unable to find instrumentation info for: ComponentInfo{}”

When you want to run any test case , but it shows message like this

Test running failed: Unable to find instrumentation info for: ComponentInfo{…} How to solve it ?

Just make sure you have been defined these in gradle.build

android.defaultConfig.testInstrumentationRunner “android.test.InstrumentationTestRunner”

Then it will work for me !

results matching ""

    No results matching ""