title: Error:(23, 17) Failed to resolve: junit:junit:4.12
body: <p>Why is it that every time I create a new project in Android Studio, it always comes up with:</p>
  
  <blockquote>
    <p>Error:(23, 17) Failed to resolve: junit:junit:4.12?</p>
  </blockquote>
  
  <p>When I remove <code>testCompile 'junit:junit:4.12'</code> in dependencies it is not a problem anymore.</p>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "com.okedroid.myapplication"
          minSdkVersion 17
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.0.1'
  }
  </code></pre>