title: Importing IntelliJ project to Android studio
body: <p>I had a project that compiled fine in Intellij 12.1.4, but I want to use android studio because of the xml editor. My problem is this, when I try to import the project into android studio 1.0 RC 4 the first error I get is:</p>
  
  <blockquote>
    <p>"You must use a newer version of the Android Gradle plugin. The minimum supported version is 0.14.0" </p>
  </blockquote>
  
  <p>My original build.gradle file contains:</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:0.5+'
  }
  </code></pre>
  
  <p>now simply changing it to read:</p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:0.14.0'
  }
  </code></pre>
  
  <p>causes this error:     </p>
  
  <pre><code>Error:(17, 0) Could not find property 'files' on  org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@2e93ad.
  </code></pre>
  
  <p>Any suggestions for what to try? My entire Build.gradle file is below </p>
  
  <pre><code>buildscript {
  repositories {
      mavenCentral()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:0.14.0'
  }
  }
  apply plugin: 'android'
  
  dependencies {
  compile files('libs/android-support-v4.jar')
  compile files('libs/android-support-v7.jar')
  //compile files('libs/GoogleAdMobAds.jar')
  compile files('libs/libGoogleAnalyticsV2')
  compile files('libs/google-play-services.jar')
  compile files 'com.android.support:appcompat-v7:+'
  
  compile files 'com.google.android.gms:play-services:4.0.30'
  compile files('libs/amazon-ads-5.4.46.jar')
  
  }
  
  android {
  compileSdkVersion 17
  buildToolsVersion "17.0.0"
  
  defaultConfig {
      minSdkVersion 7
      targetSdkVersion 16
  }
  }
  </code></pre>