Ich baue eine App mit Android Studio. Zuerst Mal, wenn ich in meiner gradle Datei:AlertDialogBuilder nicht unterstützt major.minor Version 52
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
defaultConfig {
applicationId "com.mcsolution.easymanagementandroid"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:25.0.0'
compile files('libs/gson-2.2.4.jar')
compile 'com.itextpdf:itextg:5.5.9'
compile 'com.android.support:cardview-v7:25.0.0'
}
Aber jetzt, wenn ich:
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.mcsolution.easymanagementandroid"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.0'
compile files('libs/gson-2.2.4.jar')
compile 'com.itextpdf:itextg:5.5.9'
}
Jetzt habe ich in meinem Projekt, eine Karte Ansicht so meine gradle Datei wie folgt hinzugefügt habe ich geändert versuche, meine Anwendung auszuführen, habe ich diesen Fehler:
wie kann ich es beheben?