mercredi 25 décembre 2019

Unresolved symbols for androidTest dependencies in case of non-standard build types

When I've decided to add instrumentation tests, I found that androidTestImplementation dependencies are not recognized. In my test file related classes like RunWith were displayed as Unresolved symbols. When I've tried to run the test anyway, in run configuration there was a message: Error: Instrumentation runner class not specified.". I've checked, instrumentation runner class was explicitly specified in build.gradle.

I use custom build types like debugDev, debugProd.

Aucun commentaire:

Enregistrer un commentaire