title: Android cannot import RecyclerView & CardView
body: <p>I'm not able to import RecyclerView &amp; CardView although it seems very trivial. This is the relevant part from <code>gradle.build</code> script:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "23.0.0"
  
      lintOptions {
          abortOnError false
      }
  
      defaultConfig {
          minSdkVersion 11
          targetSdkVersion 21
          versionCode 1
          versionName "1"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
      sourceSets {
          main {
              java {
                  srcDir 'src/main/java'
              }
              resources {
                  srcDir 'src/../lib'
              }
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.0.1'
      compile 'com.android.support:cardview-v7:21.0.+'
      compile 'com.android.support:recyclerview-v7:21.0.+'
      compile 'com.google.android.gms:play-services:7.8.+'
  }
  </code></pre>
  
  <p>The sync &amp; build tasks executes normally so it seems that the dependencies actually downloaded. And when in some activity I try to <code>import android.support.v7.widget.RecyclerView;</code> it's not recognising the package.</p>
  
  <p>Maybe it's SDK API versions issues? Note I need min 11 and target max 22.</p>