title: Detox + android Compiling DetoxTest.java fails
body: <p>I'm trying to run</p>
  
  <p><code>detox build -c android.emu.release</code></p>
  
  <p>but it fails when it tries to compile <code>DetoxTest.java</code> with the following errors</p>
  
  <pre><code>  ~/android/app/src/androidTest/java/&lt;package_name&gt;/DetoxTest.java:24: error: cannot find symbol
      public ActivityTestRule&lt;MainActivity&gt; mActivityRule = new ActivityTestRule&lt;&gt;(MainActivity.class, false, false);
                              ^
        symbol:   class MainActivity
        location: class DetoxTest
  
    ~/android/app/src/androidTest/java/&lt;package_name&gt;/DetoxTest.java:24: error: cannot find symbol
      public ActivityTestRule&lt;MainActivity&gt; mActivityRule = new ActivityTestRule&lt;&gt;(MainActivity.class, false, false);
                                                                                   ^
    symbol:   class MainActivity
    location: class DetoxTest
  </code></pre>
  
  <p>I tried importing MainActivity from the package but I get the package cannot be found.</p>
  
  <p>RN 0.51.1
  Detox: 7.4.3</p>