title: Android Studio from Eclipse
body: <p>I'm trying to migrate my Eclipse ADT project to Android Studio and it's not working.</p>
  
  <h2>Here is the thing:</h2>
  
  <ul>
  <li>My project include android support v4 and v7, and play services and other <em>.jar</em>s</li>
  </ul>
  
  <h2>What do I use:</h2>
  
  <ul>
  <li>ADT 22.0.1</li>
  <li>Android Studio 0.3.6</li>
  </ul>
  
  <h2>What have I done:</h2>
  
  <ul>
  <li>Set my <em>ANDROID_HOME</em> var to my android sdk path</li>
  <li>Exported ADT project to Gradle (as explained on <a href="http://developer.android.com/sdk/installing/migrate.html" rel="nofollow noreferrer">Android website</a>)</li>
  <li>Replace some parameters, like absolute path to relative path (see below in gradles)</li>
  <li>Some Stack Overflow answers tricks (but not useful for now)</li>
  </ul>
  
  <h2>Here are the Gradle specs:</h2>
  
  <ul>
  <li><p><strong>settings.gradle</strong></p>
  
  <p><code>include ':Project'</code></p></li>
  <li><p><strong>gradle\wrapper\gradle-wrapper.properties</strong></p>
  
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip
  </code></pre></li>
  <li><p><strong>Project\build.gradle</strong></p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.6.+'
      }
  }
  apply plugin: 'android'
  
  dependencies {
      compile 'com.android.support:support-v4:18.0.0'
      compile 'com.android.support:appcompat-v7:18.0.+'
      compile 'com.google.android.gms:play-services:3.1.36'
      compile fileTree(dir: 'libs', include: '*.jar')
  }
  
  android {
      compileSdkVersion 17
      buildToolsVersion "19.0.0"
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              resources.srcDirs = ['src']
              aidl.srcDirs = ['src']
              renderscript.srcDirs = ['src']
              res.srcDirs = ['res']
              assets.srcDirs = ['assets']
          }
  
          instrumentTest.setRoot('tests')
      }
  }
  </code></pre></li>
  </ul>
  
  <h2>Now when I (try to) import the project in Android Studio, I got an error message:</h2>
  
  <p><em>Could not execute build using Gradle distribution '<a href="http://services.gradle.org/distributions/gradle-1.8-all.zip" rel="nofollow noreferrer">http://services.gradle.org/distributions/gradle-1.8-all.zip</a>'.
  Task 'wrapper' not found in project ':Project'.</em></p>
  
  <h2>What now ?:</h2>
  
  <p>How can I progress this further?</p>