Updating the dependencies in Android studio I find the following error.
Error: Execution failed for task ': app: processDebugGoogleServices'. > Please fix the version of the conflict either by updating the version of the google-services plugin (information about the latest version is available at link ) or updating the version of com.google.android.gms to 10.0.0.
the dependencies in the following way.
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "meditech.com.mx.meditech"
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// Enabling multidex support.
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
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'
})
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:appcompat-v7:26.+'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:design:26.+'
compile 'com.android.support:cardview-v7:26.+'
compile 'com.hannesdorfmann.smoothprogressbar:library:1.0.0'
compile 'com.google.android.gms:play-services-maps:10.0.0'
compile 'com.google.firebase:firebase-core:10.2.6'
compile 'com.google.firebase:firebase-storage:10.0.1'
compile 'com.google.firebase:firebase-auth:10.0.1'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'