Android Studio Instrumentation testing build variant

You can do testing on a different build variant; but only on one. The default is debug.

See this:
https://developer.android.com/studio/build/gradle-tips#change-the-test-build-type

Currently only one Build Type is tested. By default it is the debug
Build Type, but this can be reconfigured with:

android {
    ...
    testBuildType "staging"
}

Leave a Comment