Gradle项目同步失败android studio 2.2.3版错误

Gradle项目同步失败android studio 2.2.3版错误,android,Android,这是我第一次使用android studio,我不断收到一条错误消息,上面写着: 梯度同步失败:找不到参数[build_43qncadg6ssgwl9025usbfvce$\u run]的方法android()_closure3@c74f8ce]在org.gradle.api.project类型的根项目“MyApplication”上。 有关更多详细信息,请参阅IDE日志 代码如下: //顶级生成文件,您可以在其中添加所有子项目/模块通用的配置选项 错误:找不到参数的方法android() 这个

这是我第一次使用android studio,我不断收到一条错误消息,上面写着:

梯度同步失败:找不到参数[build_43qncadg6ssgwl9025usbfvce$\u run]的方法android()_closure3@c74f8ce]在org.gradle.api.project类型的根项目“MyApplication”上。 有关更多详细信息,请参阅IDE日志 代码如下: //顶级生成文件,您可以在其中添加所有子项目/模块通用的配置选项

错误:找不到参数的方法android()


这个错误意味着什么?如何解决这个问题?

一个典型的Android项目有一个根项目和一个包含应用程序的子项目。您似乎显示了根项目的
build.gradle

android
部分通常会进入子项目的
build.gradle

buildscript {

repositories {

 jcenter()

    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
allprojects {

    repositories {
        jcenter()
    }
}
task clean(type: Delete)
 {

   delete rootProject.buildDir

}

android {

    compileSdkVersion 25
    buildToolsVersion '25.0.3'

}

dependencies {

}