Android 错误:任务';的执行失败:应用程序:ProcessDebuggGoogleServices'&燃气轮机;找不到包名称com.xxx.xxx的匹配客户端

Android 错误:任务';的执行失败:应用程序:ProcessDebuggGoogleServices'&燃气轮机;找不到包名称com.xxx.xxx的匹配客户端,android,Android,当我尝试将项目与Gradles文件同步时,出现错误 这里是错误 错误:任务“:app:processDebugGoogleServices”的执行失败。 找不到与包名“ua.com.qascript.android”匹配的客户端 下面是Gradle文件的内容: apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "22.0.0" packagin

当我尝试将项目与Gradles文件同步时,出现错误

这里是错误

错误:任务“:app:processDebugGoogleServices”的执行失败。 找不到与包名“ua.com.qascript.android”匹配的客户端

下面是Gradle文件的内容:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.0"
    packagingOptions {

        exclude('META-INF/NOTICE')
    }
    packagingOptions {

        exclude('META-INF/LICENSE')
    }
    defaultConfig {
        applicationId "ua.com.qascript.android"
        minSdkVersion 14
        targetSdkVersion 22
        versionName '1.7'
        versionCode 11
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile files('libs/volley.jar')
    compile('org.apache.httpcomponents:httpmime:4.3.6') {
        exclude module: 'httpclient'
    }
    compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
    compile 'com.github.chrisbanes.photoview:library:1.2.3'
    compile 'com.google.android.gms:play-services:9.4.0'
    compile 'com.facebook.android:facebook-android-sdk:4.0.1'
    compile 'com.android.support:support-v4:24.2.1'
    compile 'com.google.android.gms:play-services-gcm:9.4.0'
    compile 'com.android.support:appcompat-v7:24.2.1'
    compile 'com.android.support:cardview-v7:24.1.1'
    compile 'com.android.support:recyclerview-v7:24.1.1'
    compile 'com.google.android.gms:play-services-ads:9.4.0'
    compile 'com.pkmmte.view:circularimageview:1.1'
    compile 'com.android.support:design:24.2.1'
    compile 'com.melnykov:floatingactionbutton:1.3.0'
}
// Add to the bottom of the file
apply plugin: 'com.google.gms.google-services'
嗯,这个错误出现在我更新Google Play服务后,可以添加Firebase云消息,它要求最低版本9.0


请帮我修一下。谢谢。

此链接为您提供了解决方案