title: AndroidJUnit4.class not found on Instrumentation tests
body: <p>I'm having trouble with <code>AndroidJunit4.class</code> import.
  I created the test class in the <code>androidTest/java/</code> folder but it seems that the class is not found.</p>
  <p>Even if I force the right import it still doesn't work. ( <code>import android.support.test</code>).</p>
  <pre><code>@RunWith(AndroidJunit4.class)
  public class RandomTest {
  
  }
  </code></pre>
  <p>Here is my gradle :</p>
  <pre><code>defaultConfig {
   testInstrumentationRunner &quot;android.support.test.runner.AndroidJUnitRunner&quot;
  }
  
  dependencies {
   compile &quot;com.android.support:support-annotations:23.4.0&quot;
   compile &quot;com.android.support:appcompat-v7:23.4.0&quot;
   compile 'cat.ereza:customactivityoncrash:1.5.0'
   testCompile 'junit:junit:4.12'
   androidTestCompile 'junit:junit:4.12'
   androidTestCompile('com.android.support.test:runner:0.5')
   androidTestCompile('com.android.support.test:rules:0.5')
   androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2')
   androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2.2')
   androidTestCompile('com.android.support.test.espresso:espresso-intents:2.2.2')
  
   testCompile('com.android.support.test:runner:0.5')
   testCompile('com.android.support.test:rules:0.5')
   testCompile('com.android.support.test.espresso:espresso-core:2.2.2')
   testCompile('com.android.support.test.espresso:espresso-contrib:2.2.2')
   testCompile('com.android.support.test.espresso:espresso-intents:2.2.2')
  
   testCompile 'org.mockito:mockito-core:1.10.19'
   testCompile &quot;org.robolectric:robolectric:3.1.1&quot;
  }
  </code></pre>
  <p>Weird thing is that I can find <code>AndroidJunit4</code> file in my project, but in its parent <code>AndroidJunit4ClassRunner</code>, <code>AndroidRunnerParams</code> class is not resolved even if I also can find the file in my Project.</p>