title: Android Studio - Failed to resolve: com.android.support libraries
body: <p>I got 2 gradle errors when compiling. </p>
  
  <p><em>Failed to resolve: com.android.support:recyclerview-v7:22.0.1</em></p>
  
  <p><em>Failed to resolve: com.android.support:appcompat-v7:22.0.1</em></p>
  
  <p>I try to install the repositories and it starts to install v14 support libraries and after it finishes and sync's it displays the same error again. Also tried cleaning and rebuilding the project.  </p>
  
  <p><strong>Android studio version: 1.2.1.1</strong></p>
  
  <p><strong>Build.gradle(app)</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
  compileSdkVersion 22
  buildToolsVersion '22.0.1'
  
  defaultConfig {
      applicationId "com.piserve.geejo.mskv4"
      minSdkVersion 15
      targetSdkVersion 22
      versionCode 1
      versionName "1.0"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  dependencies {
  compile fileTree(include: ['*.jar'], dir: 'libs')
  compile 'org.lucasr.dspec:dspec:0.1.1'
  compile 'com.mcxiaoke.volley:library:1.0.+'
  compile 'com.android.support:appcompat-v7:22.0.1'
  compile 'com.android.support:recyclerview-v7:22.0.1'
  }
  </code></pre>
  
  <p><strong>SDK Manager Screenshot</strong></p>
  
  <p><img src="https://i.imgur.com/poz2eOK.png" alt="1"></p>