我正在尝试在Yosemite上安装命令行工具但是我收到以下错误:
apply plugin: 'com.android.application'
android {
dexOptions {
javaMaxHeapSize "4g"
jumboMode = true
}
compileSdkVersion 21
buildToolsVersion '22.0.1'
defaultConfig {
applicationId "my.package.app"
minSdkVersion 19
targetSdkVersion 19
versionCode 1
versionName "1.0"
multiDexEnabled=true
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
productFlavors {
}
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.code.gson:gson:2.2.4'
compile 'joda-time:joda-time:2.3'
compile project(':HelpShift')
compile files('libs/gcm.jar')
}
导致此错误的原因是什么?如何解决?