title: Cucumber Android not running on Flavors
body: <p>I have a folder -&gt; androidTestMyFlavor
  and inside -&gt;</p>
  <pre><code>class CucumberTestRunner : CucumberAndroidJUnitRunner()
  </code></pre>
  <p>and -&gt;</p>
  <pre><code>@CucumberOptions(
      features = [&quot;features&quot;],
      glue = [&quot;com.blah.blah.cucumber.steps&quot;],
      tags = [&quot;@e2e&quot;, &quot;@smoke&quot;]
  )
  class CucumberTestCase
  </code></pre>
  <p>inside gradle file -&gt;</p>
  <pre><code>testInstrumentationRunner 'com.blah.blah.cucumber.runner.CucumberTestRunner'
  </code></pre>
  <p>_</p>
  <pre><code>debug {
              applicationIdSuffix &quot;.beta&quot;
              versionNameSuffix '.debug'
              ....
  }
  
  
  productFlavors {
      MyFlavor {
                applicationId 'com.foo.blah'
                testApplicationId 'com.foo.blah.test'
                ....
      }
      MyFlavor2 {
                applicationId 'com.bar.blah'
                testApplicationId 'com.bar.blah.test'
                ....
      }
  }
  </code></pre>
  <p>I use :</p>
  <pre><code>   androidTestImplementation &quot;io.cucumber:cucumber-android:4.9.0&quot;
  </code></pre>
  <p>and my real package name is different from applicationId.</p>
  <p>package=&quot;com.blah.foobar&quot; &lt;-and-&gt; applicationId com.lorem.ipsum</p>
  <p>I run :</p>
  <pre><code>./geadlew connectedMyFlavorAndroidTest -Pcucumber -Ptags=&quot;@e2e&quot;
  </code></pre>
  <p>But I get this message :</p>
  <pre><code>&gt; Task :app:connectedAyandeDebugAndroidTest Starting 0 tests on Mi A3 - 11
  </code></pre>
  <p>I need help to run cucumber test on Android Flavors.</p>