title: Gradle Sync Failed in Android Studio 3.0 Canary 5
body: <p>This is my <code>build.gradle(Project: MyProjectName)</code> file:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      ext.kotlin_version = "1.1.1"
      ext.supportLibVersion = "25.3.0"
  
      repositories {
          jcenter()
      }
  
      dependencies {
          classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
          classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
  
          classpath 'com.android.tools.build:gradle:3.0.0-alpha5'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      String osName = System.getProperty("os.name").toLowerCase();
  
      if (osName.contains("windows")) {
          buildDir = "C:/tmp/${rootProject.name}/${project.name}"
      }
  
      repositories {
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p><strong>And here is the <code>build.gradle(Module:app)</code>:</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'kotlin-android'
  apply plugin: 'kotlin-android-extensions'
  
  android {
      compileSdkVersion 25
      buildToolsVersion "25.0.2"
  
      defaultConfig {
          applicationId "com.example.android.datafrominternet"
          minSdkVersion 10
          targetSdkVersion 25
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              minifyEnabled false
          }
      }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:25.1.0'
  
      // TODO (32) Remove the ConstraintLayout dependency as we aren't using it for these simple projects
      compile 'com.android.support.constraint:constraint-layout:1.0.0-beta4'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'
      implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7: $kotlin_version"
  }
  </code></pre>
  
  <p><strong>This the error message:</strong></p>
  
  <pre><code>Error:Unable to find method 'com.android.build.gradle.internal.variant.BaseVariantData.getOutputs()Ljava/util/List;'.
  </code></pre>
  
  <p>Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
  Re-download dependencies and sync project (requires network)</li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
  Stop Gradle build processes (requires restart)</li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.</p>