title: Android Studio (Gradle) cannot find Mockito
body: <p>I try to use Mockito from within Android Studio 1.2.2 but I get the following error:</p>
  
  <blockquote>
    <p>Error:(50, 17) Failed to resolve: org.mockito:mockito-core:1.10.19</p>
  </blockquote>
  
  <p>The error occurs when I sync Gradle after adding the dependency manually. This is the dependency in my module Gradle file:</p>
  
  <pre><code>    dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:appcompat-v7:22.2.0'
      testCompile 'org.mockito:mockito-core:1.10.19' 
  }
  </code></pre>
  
  <p>Could anyone help my resolve this issue?</p>
  
  <p>Related questions:</p>
  
  <ol>
  <li>Do I first need to download Mockito manually?</li>
  <li>If so, where should I put it?</li>
  </ol>
  
  <p>Note: the comments were helpfull to solve the above problem. However, it got me into another problem which I could not solve. But updating to Android Studio 1.3 solved it. I am now running Mockito from within Android Studio.</p>