title: Android Studio build fails with "Task '' not found in root project 'MyProject'."
body: <p>I get this error when trying to build my project after changing laptop and updating to Android Studio version 0.8.2.</p>
  
  <blockquote>
    <p>FAILURE: Build failed with an exception.</p>
    
    <ul>
    <li><p>What went wrong:
    Task '' not found in root project 'MyProject'.</p></li>
    <li><p>Try:
    Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
    </ul>
    
    <p>BUILD FAILED</p>
  </blockquote>
  
  <p>Here are my Gradle files:</p>
  
  <p>Top Level settings.gradle</p>
  
  <pre><code>include ':MyProject'
  </code></pre>
  
  <p>build.gradle in MyProject:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath "com.android.tools.build:gradle:0.12.+"
      }
  }
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 20
      buildToolsVersion "20"
  
      defaultConfig {
          minSdkVersion 14
          targetSdkVersion 20
      }
  }
  
  dependencies {
      compile 'de.timroes.android:EnhancedListView:0.3.0@aar'
      compile 'com.nineoldandroids:library:2.4.0'
  }
  </code></pre>
  
  <p>Top level build.gradle is empty</p>