Suppose you want to run a Trial product recipe and a Debug build type.
Instead of starting up ./gradlew assemble connectedCheck, which looks like what you are doing, run this instead:
./gradlew assembleTrialDebug connectedCheckTrialDebug
source
share