Android 评估根项目时出错。无法创建类型为';的插件;AppPlugin';

Android 评估根项目时出错。无法创建类型为';的插件;AppPlugin';,android,eclipse-plugin,android-gradle-plugin,Android,Eclipse Plugin,Android Gradle Plugin,我有18个应用程序,我正试图使用Gradle执行它们。 我试过Gradle(1.6,1.8.1.9,1.10) 执行时,我收到以下错误: BUILD FAILED Total time: 3.817 secs D:\ABC\DEF>gradle build FAILURE: Build failed with an exception. * Where: Build file 'D:\ABC\DEF\build.gradle' line: 10 * What went wrong

我有18个应用程序,我正试图使用Gradle执行它们。 我试过Gradle(1.6,1.8.1.9,1.10) 执行时,我收到以下错误:

BUILD FAILED

Total time: 3.817 secs

D:\ABC\DEF>gradle build

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\ABC\DEF\build.gradle' line: 10

* What went wrong:
A problem occurred evaluating root project 'ABC'.
> Could not create plugin of type 'AppPlugin'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

BUILD FAILED

Total time: 6.536 secs
我的build.gradle文件是:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.6.3'
        classpath 'de.felixschulze.gradle:gradle-app-plugin:1.1+'
    }
}
apply plugin: 'android'
apply plugin: 'App'

repositories {
    mavenCentral()
}

dependencies {
    compile project(':libraries:NavigationDrawer')
    compile project(':libraries:google-play-services_lib')

    compile files('libs/android-rome-feed-reader-1.0.0-r2.jar')
    compile files('libs/gcm.jar')
    compile files('libs/gson-2.2.2.jar')
    debugCompile files('libs/SDK-3.0.0.jar')
    compile files('libs/jdom-1.1.1-android-fork.jar')
    compile files('libs/libGoogleAnalyticsV2.jar')  
}
/*
 * upload to vette2 server
*/

task uploadToVette2(type: Exec) {
    commandLine './scripts/uploadToVette2.sh'
}
/*
 * upload to app server
 * will pass a paramter named:note
 * we can call it like this: gradle uploadToApp -Pnote="some note here"
*/
task uploadToApp(type: Exec) {
    commandLine './scripts/uploadToApp.sh'
    if (project.hasProperty("note")){
        args note
    }

}

app {
    apiToken = "19b1ba1d36ab4299a09a302f34169fe1"
    releaseType = 2 // alpha
    notify = 0
    status = 2
    notesType = 1
    notes = "Some notes."
    symbolsDirectory = file("build/symbols/")
    mappingFileNameRegex = "R.txt"
}

android {

    defaultConfig { 
       minSdkVersion 9
       targetSdkVersion 9
    }
    compileSdkVersion 17
    buildToolsVersion "17.0.0"

    productFlavors {
        tigers {
            packageName "com.xx.aa"
        }

        bb {
            packageName "com.xx.bb"
        }
        cc {
            packageName "com.xx.cc"
        }
等等


感谢您的回复

您是否尝试过使用更新的构建插件(例如:
classpath'com.android.tools.build:gradle:0.9.2'
应与gradle 1.10/1.11配合使用)?我们尝试过gradle 1.10和1.11,但出现以下错误:“评估根项目'LSMobileAppBranch'时出现问题。>SDK目录“D:\AA\BB\adt-bundle-windows-x86-201309 17sdk”不存在。“是否安装了正确的生成工具?”(“17.0.0”)是的,我正确安装了installedIt。尝试使用您配置的
App
插件失败。请按照错误消息中的建议,使用--stacktrace选项从命令行生成。这将为您提供更多的输出。