プロジェクトで ProGuard を有効にしようとしてgetDefaultProguardFile
いますが、解決できないと表示されます。
これが私のものbuild.gradle
です:
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId '***'
minSdkVersion 11
targetSdkVersion 22
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
productFlavors {
}
}
dependencies {
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.android.support:support-v4:22.0.0'
compile 'com.google.android.gms:play-services:7.0.0'
compile project(path: ':backend', configuration: 'android-endpoints')
}