I know there are version conflicts, but the problem still persists after new versions of Google.
Error: execution completed for task ': Application: processCurrentDebugGoogleServices. Correct the version conflict either by updating the version of the google-services plugin (information on the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/ ) or update the version of com.google. android.gms to 11.4.0.
My build.gradle (module: application)
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.x.x"
minSdkVersion 9
targetSdkVersion 26
versionCode 10
versionName "1.1"
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
legacy {
minSdkVersion 9
}
current {
minSdkVersion 14
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
legacyCompile 'com.google.firebase:firebase-ads:10.0.1'
legacyCompile 'com.google.firebase:firebase-core:10.0.1'
currentCompile 'com.google.firebase:firebase-ads:11.4.0'
currentCompile 'com.google.firebase:firebase-core:11.4.0'
}
apply plugin: 'com.google.gms.google-services'
My Build.gradle: (Project)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.1.1'
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
What changes are needed now?
Thanks,
iLyas