title: "Neither path nor baseDir may be null or empty string." error when importing gradle project in Android Studio 0.2.9
body: <p><em>NOTE: i can't post links, so i guess you'll need to go <a href="https://gist.github.com/nrser/b4c068fcd07d8be01b9e#file-references-md" rel="noreferrer">here</a> to follow the references. sorry, not my rule.</em></p>
  
  <p>i'm getting the following error when attempting to import a project into Android Studio 0.2.9:</p>
  
  <pre><code>Could not execute build using Gradle distribution 
  'http://services.gradle.org/distributions-snapshots/
  gradle-1.8-20130830160653+0000-bin.zip'.
  A problem occurred configuring project ':library'.
  A problem occurred configuring project ':library'.
  Failed to notify project evaluation listener.
  Neither path nor baseDir may be null or empty 
  string. path='' basedir='&lt;projects folder&gt;/
  drag-sort-listview/library'
  
  Consult IDE log for more details (Help | Show Log)
  </code></pre>
  
  <p>the project was originally a Maven project (1). i opened it in Eclipse ADT, generated a <code>/librabry/build.gradle</code> file per the instructions at (2). </p>
  
  <p>the Eclipse ADT generated <code>build.gradle</code> looked like:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.4'
      }
  }
  apply plugin: 'android-library'
  
  dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
  }
  
  android {
      compileSdkVersion 7
      buildToolsVersion "17.0.0"
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['']
              resources.srcDirs = ['']
              aidl.srcDirs = ['']
              renderscript.srcDirs = ['']
              res.srcDirs = ['res']
              assets.srcDirs = ['assets']
          }
  
          instrumentTest.setRoot('tests')
      }
  }
  </code></pre>
  
  <p>i had to change line 6 from</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:0.4'
  </code></pre>
  
  <p>to</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle:0.5+'
  </code></pre>
  
  <p>to get Android Studio to stop saying the versions were miss-matched. i also added a <code>/settings.gradle</code> file containing</p>
  
  <pre><code>include ':library'
  </code></pre>
  
  <p>and a <code>/local.properties</code> file with the contents</p>
  
  <pre><code># This file is automatically generated by Android Studio.
  # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
  #
  # This file must *NOT* be checked into Version Control Systems,
  # as it contains information specific to your local configuration.
  
  # Location of the SDK. This is only used by Gradle.
  # For customization when using a Version Control System, please read the
  # header note.
  sdk.dir=/Applications/Android Studio.app/sdk
  </code></pre>
  
  <p>i then attempted to import the <code>/settings.gradle</code> file by selecting it in the 'File | Import Project...' dialog. i have 'Use Auto-import' checked and 'Use gradle wrapper with verification' option selected in the dialog (3). the full <code>idea.log</code> entry can be viewed at (4).</p>
  
  <p>any help would be greatly appreciated, thanks.</p>