我正在构建我的gradle项目并得到以下问题。请帮助我,我是android编程的新手 找不到签名方法:org.gradle.api.internal.articraft.dsl.dependencies.defualtDependdencyHandler.compiler()适用于参数类型:values:com.google.android.gms:play-source:4.0.30] < / p>
My Gradle.build has following :
apply plugin: 'android-library'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
compile 'com.google.android.gms:play-services:3.1.+'
compile 'net.hockeyapp.android:HockeySDK:3.0.+'
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:18.0.+'
compile 'com.android.support:appcompat-v7:18.0.+'
}
}
android {
compileSdkVersion 19
buildToolsVersion "19.0.1"
sourceSets {
main {
java.srcDirs = ['src']
res.srcDirs = ['src/main/res']
manifest.srcFile 'src/main/AndroidManifest.xml'
}
}
}
如果我错误的话,请告诉我 在此先感谢