Android Studio Gradle: Error:Execution failed for task ':app:processDebugGoogleServices'. > No matching client found for package

后端 未结 25 1580
清酒与你
清酒与你 2020-12-04 11:53

I am trying to upgrade my google play services dependencies to 8.4.0 by following the example Google gives here, but I am getting the following error (\'com.example.examplea

25条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 12:33

    For fixing:

    No matching client found for package name 'com.example.exampleapp:

    You should get a valid google-service.json file for your package from here

    For fixing:

    Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 8.3.0.:

    You should move apply plugin: 'com.google.gms.google-services' to the end of your app gradle.build file. Something like this:

    dependencies {
        ...
    }
    apply plugin: 'com.google.gms.google-services'
    

提交回复
热议问题