title: No matching client found for package name 'demo.abc.com.deals.debug'
body: <p>I am struggling with google sign in with android app.
  I followed steps from given link <a href="https://developers.google.com/identity/sign-in/android/start-integrating" rel="nofollow noreferrer">Google Sign-In for Android
  </a> I have created <code>google-services.json</code> file with same application-ID/Package Name which is in <code>AndroidMenifest.xml</code> file. Please quick check into below <code>AndroidMenifest.xml</code> code along with <code>google-services.json</code> file.</p>
  
  <p><strong>AndroidMenifest.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
          &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="demo.abc.com.deals"&gt;
          &lt;uses-sdk tools:overrideLibrary="com.facebook" /&gt;
          &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
          &lt;uses-permission  android:name="android.permission.ACCESS_NETWORK_STATE"  /&gt;
          &lt;application
          android:name=".ParityApplication"
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;meta-data
              android:name="com.facebook.sdk.ApplicationId"
              android:value="@string/facebook_app_id" /&gt;
          &lt;activity
              android:name="com.facebook.FacebookActivity"
              android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
              /&gt;
          &lt;activity
              android:name=".views.splash.SplashActivity"
              android:configChanges="keyboard|orientation|screenSize"
              android:screenOrientation="portrait"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".MainActivity"
              android:configChanges="keyboard|orientation|screenSize"
              android:exported="false"
              android:screenOrientation="portrait"
              android:windowSoftInputMode="stateHidden|adjustPan" /&gt;
  
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>google-services.json</strong></p>
  
  <pre><code>"client_info": {
      "mobilesdk_app_id": "1:216768689126:android:64277ad0e8ef7db8",
      "android_client_info": {
        "package_name": "demo.abc.com.deals"
      }
  </code></pre>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'com.google.gms.google-services'
  android {
  compileSdkVersion 25
  buildToolsVersion "25.0.2"
  defaultConfig {
      applicationId "demo.abc.com.deals"
      minSdkVersion 19
      targetSdkVersion 25
      versionCode 1
      versionName "1.0"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  }
  dataBinding {
      enabled true
  }
  
  compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
  }
  repositories {
      mavenCentral()
  }
  buildTypes {
      debug {
          debuggable true
          applicationIdSuffix '.debug'
          buildConfigField("String", "SCHEME", "\"http:\"")
          buildConfigField("String", "AUTHORITY", "\"//139.162.46.29\"")
          buildConfigField("String", "SERVER_URL", "\"http://139.162.46.29/v3\"")
          resValue 'string', 'app_name', 'Parity-SIT'
      }
      uat.initWith(buildTypes.debug)
      uat {
          applicationIdSuffix '.uat'
          buildConfigField("String", "SCHEME", "\"http:\"")
          buildConfigField("String", "AUTHORITY", "\"//139.162.46.29\"")
          buildConfigField("String", "SERVER_URL", "\"http://139.162.46.29/v3\"")
          resValue 'string', 'app_name', 'Parity-UAT'
      }
      release {
          minifyEnabled false
          resValue 'string', 'app_name', 'Parity'
          buildConfigField("String", "SCHEME", "\"http:\"")
          buildConfigField("String", "AUTHORITY", "\"//139.162.46.29\"")
          buildConfigField("String", "SERVER_URL", "\"http://139.162.46.29/v3\"")
          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:design:25.3.0'
  compile 'com.android.support:appcompat-v7:25.3.0'
  compile 'com.android.support.constraint:constraint-layout:1.0.2'
  compile 'com.android.support:support-annotations:25.3.0'
  compile 'com.android.support:recyclerview-v7:25.3.0'
  compile 'com.mcxiaoke.volley:library-aar:1.0.0'
  compile 'com.google.code.gson:gson:2.8.0'
  compile 'com.squareup.picasso:picasso:2.5.2'
  compile 'com.android.support:support-v4:25.3.0'
  compile 'com.facebook.android:facebook-android-sdk:4.18.0'
  compile 'com.google.android.gms:play-services:9.0.0'
  testCompile 'junit:junit:4.12'
  }
  apply plugin: 'me.tatarka.retrolambda'
  </code></pre>
  
  <p><strong>Project level build.gradle</strong></p>
  
  <pre><code>dependencies {
      classpath 'com.android.tools.build:gradle:2.3.3'
      classpath 'me.tatarka:gradle-retrolambda:3.6.0'
      classpath 'com.google.gms:google-services:3.0.0'
  
  }
  </code></pre>
  
  <p>In all three files package name is <code>demo.abc.com.deals</code> but still I am getting this error as.</p>
  
  <blockquote>
    <p>Error:Execution failed for task ':app:processDebugGoogleServices'.
     No matching client found for package name 'demo.abc.com.deals.debug'.</p>
  </blockquote>
  
  <p>I tried each and every suggestions on same issue raised here on SO but not even single solution work for me.
  I could really use all SO users suggestions and experiences to deal with this issue.</p>
  
  <p><strong>google-services.json file adding dir structure</strong></p>
  
  <p><a href="https://i.stack.imgur.com/FeYLK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FeYLK.png" alt="google-service.json file added under app dir."></a></p>