title: The project 'My Application' may be using a version of Gradle that does not contain the method
body: <p>I use Android studio 2.1.1 . I follow this tutorial: <a href="http://www.androidhive.info/2016/05/android-working-with-card-view-and-recycler-view/" rel="nofollow noreferrer">http://www.androidhive.info/2016/05/android-working-with-card-view-and-recycler-view/</a></p>
  
  <p>This is file <code>build.gradle</code>:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.1.0'
          compile 'com.android.support:cardview-v7:23.3.+'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p>Then Android studio notice:</p>
  
  <blockquote>
    <p>The project 'My Application' may be using a version of Gradle that
    does not contain the method</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/r97pW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r97pW.jpg" alt="enter image description here"></a></p>
  
  <p>I can't build project. Help me resolve problem.</p>