title: Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to
body: <p>today I just imported a sample app from Android SDK as a module in my project (analytics) and suddenly I got this gradle error when I try to sync it: <code>Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE envrinment variable to...</code></p>
  
  <p>This is my app <code>gradle</code> file:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 22
      buildToolsVersion "22.0.0"
      defaultConfig {
          applicationId "xxx.xxxxxx.xxxxx"
          versionCode 1
          versionName '1'
          minSdkVersion 9
          targetSdkVersion 22
          versionCode 1
          versionName '1'
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
  
      dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.0.0'
      compile 'com.google.android.gms:play-services:6.5.87'
      compile 'com.android.support:recyclerview-v7:21.0.0'
      compile 'com.android.support:cardview-v7:21.0.0'
      compile 'com.facebook.android:facebook-android-sdk:3.21.1'
      testCompile 'junit:junit:4.12'
      compile project(':volley')
  }
  </code></pre>
  
  <p>Do you have any idea of which may be the cause (I'm using the plugin version 1.1.0-rc1 and the <code>gradle</code> version 2.2 and <code>Android Studio</code> version 1.1.0)?</p>
  
  <p>EDIT:</p>
  
  <p>This is my top <code>build.gradle</code>:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.1.0-rc1'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>