The google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, the default version will be used: 9.0.0

I integrate fire-base into my existing project using these libs

   compile 'com.google.firebase:firebase-auth:9.0.2'
compile 'com.google.firebase:firebase-database:9.0.2'
compile 'com.google.android.gms:play-services:9.0.2'

Dependencies

    dependencies {
    classpath 'com.android.tools.build:gradle:2.1.2'
    classpath 'com.google.gms:google-services:3.0.0'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

I get this error

Error:Execution failed for task ':app:processDebugGoogleServices'.

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 9.0.0.

Unable to find out what is happening?

This is my verison game service.  enter image description here

+4
source share
2

, , build.gradle: (Module: app)

 apply plugin: 'com.google.gms.google-services'

, , ?

+7

All Articles