Ich versuche, die Google-SDK Firebase zu integrieren als hereGradle Sync fehlgeschlagen: Version: 8.4.0 ist niedriger als die minimale Version (9.0.0), die für Google-Dienste Plugin
erklärte Aber ich bin immer dieser Fehler, wenn ich versuche, das Projekt zu erstellen:
Gradle sync failed: Version: 8.4.0 is lower than the minimum version (9.0.0) required for google-services plugin.
das ist mein Projekt ist build.gradle
Datei:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}
, und dies ist der App build.gradle
Datei:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
android {
lintOptions {
abortOnError false
}
signingConfigs {
release {
}
}
compileSdkVersion Integer.parseInt(project.COMPILE_SDK_VERSION)
buildToolsVersion project.BUILD_TOOLS_VERSION
defaultConfig {
applicationId 'club.androidy.callcontrolfree'
minSdkVersion project.MIN_SDK
targetSdkVersion project.TARGET_SDK_VERSION
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-analytics:8.4.0'
compile 'com.android.support:support-v4:23.3.0'
compile 'com.android.support:design:23.3.0'
compile('com.crashlytics.sdk.android:crashlytics:[email protected]') {
transitive = true;
}
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.google.firebase:firebase-core:9.0.0'
compile 'com.google.firebase:firebase-crash:9.0.0'
}
apply plugin: 'com.google.gms.google-services'
Was hier los?
Vielen Dank im Voraus.
T Danke. Das hat mein Problem gelöst. – Mohammad