title: Cannot find mockito in instrumentation test
body: <p>Okay, I might be really dumb here but I cannot import mockito into my instrumentation test.
  Here is a screenshot of my instrumentation test class which simply cannot find mockito package.</p>
  
  <p><a href="https://i.stack.imgur.com/s0wRC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s0wRC.png" alt="Mockito error"></a></p>
  
  <p>And here is my complete build.gradle file</p>
  
  <p>apply plugin: 'com.android.application'</p>
  
  <pre><code>buildscript {
  repositories {
      maven { url 'https://maven.fabric.io/public' }
  }
  
  dependencies {
      classpath 'io.fabric.tools:gradle:1.+'
  }
  }
  repositories {
  jcenter()
  maven { url 'https://maven.fabric.io/public' }
  }
  
  android {
  compileSdkVersion 28
  defaultConfig {
      applicationId "com.example.trendingrepo"
      minSdkVersion 19
      targetSdkVersion 28
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
  implementation 'com.android.support:appcompat-v7:28.0.0'
  implementation 'com.android.support:recyclerview-v7:28.0.0'
  implementation 'de.hdodenhof:circleimageview:2.2.0'
  implementation 'com.google.code.gson:gson:2.8.5'
  implementation 'com.github.bumptech.glide:glide:4.9.0'
  implementation "android.arch.work:work-runtime:1.0.1"
  implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  androidTestImplementation 'junit:junit:4.12'
  androidTestImplementation('org.mockito:mockito-android:2.6.3') {
      exclude group: 'org.hamcrest', module: 'hamcrest-core'
  }
  androidTestImplementation 'com.android.support.test:runner:1.0.2'
  androidTestImplementation 'com.android.support.test:rules:1.0.2'
  androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  androidTestImplementation('org.droidparts.dexmaker:dexmaker:1.5') {
      exclude module: 'objenesis'
  }
  }
  </code></pre>