title: AndroidJUnit4.class is deprecated: How to use androidx.test.ext.junit.runners.AndroidJUnit4?
body: <p>For my instrumentation tests I was using </p>
  
  <pre><code>@RunWith(AndroidJUnit4.class)
  </code></pre>
  
  <p>from</p>
  
  <pre><code>import androidx.test.runner.AndroidJUnit4;
  </code></pre>
  
  <p>in order to establish my test cases. Now this line gets marked as deprecated with the hint to use <code>AndroidJUnit4</code> from</p>
  
  <pre><code>import androidx.test.ext.junit.runners.AndroidJUnit4
  </code></pre>
  
  <p>However if I try to import <code>AndroidJUnit4</code> from the named package I get the error, that <code>ext</code> can not be resolved.</p>
  
  <p>Do you have an idea, what package should be included in gradle to resolve this issue?</p>