title: Can't import a project on Android Studio
body: <p>I have recently migrated from Eclipse to Android Studio. I am facing some problems regarding Gradle.</p>
  
  <p>I tried to import this project from github: <a href="https://github.com/saulmm/Android-Material-Example" rel="nofollow">https://github.com/saulmm/Android-Material-Example</a>, but got this error message:</p>
  
  <blockquote>
    <p>Error:(16, 0) Gradle DSL method not found: 'runProguard()'
    Possible causes:<li>The project 'Android-Material-Example-master' may be using a version of Gradle that does not contain the method.
    Open Gradle wrapper file</li><li>The build file may be missing a Gradle plugin.
    Apply Gradle plugin</li></p>
  </blockquote>
  
  <p>This is my build.gradle</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:1.0.0'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      } }
  
  allprojects {
      repositories {
          jcenter()
      } }
  </code></pre>
  
  <p>And this is my gradle-wrapper.properties</p>
  
  <pre><code>#Wed Apr 10 15:27:10 PDT 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
  </code></pre>
  
  <p>I can't find <code>runProguard()</code> they are talking about! Any solutions?</p>