title: Getting gradle exception after updating to com.google.gms:google-services:3.0.0
body: <p>Yesterday, I updated my google services gradle plugin to this:</p>
  
  <pre><code>dependencies {
          classpath 'com.android.tools.build:gradle:2.2.0'
          classpath 'com.google.gms:google-services:3.0.0'
      }
  </code></pre>
  
  <p>After that, I am getting below error in my <code>devDebug</code> flavour build:</p>
  
  <pre><code>Error:org.gradle.api.GradleException: No matching client found for package name 'com.example.android.dev'
  </code></pre>
  
  <p>Here are the relevant part of my app level <code>build.gradle</code> file:</p>
  
  <pre><code>defaultConfig {
          applicationId 'com.example.android'
          multiDexEnabled true
          minSdkVersion 16
          targetSdkVersion 24
          versionCode 47
          versionName "1.3.2"
          signingConfig signingConfigs.myConfig
          renderscriptTargetApi 24
          renderscriptSupportModeEnabled true
      }
      buildTypes {
          debug {
              applicationIdSuffix = ".dev"
              resValue "string", "app_name", "example-debug"
          }
          release {
              minifyEnabled false
              shrinkResources false
              resValue "string", "app_name", "example"
              signingConfig signingConfigs.myConfig
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      productFlavors {
          dev {
              // dev utilizes minSDKVersion = 21 to allow the Android gradle plugin
              // to pre-dex each module and produce an APK that can be tested on
              // Android Lollipop without time consuming dex merging processes.
              minSdkVersion 21
          }
          prod {
              // The actual minSdkVersion for the application.
              minSdkVersion 16
          }
      }
  </code></pre>
  
  <p>This error does not come in my <code>prodRelease</code> product flavour build. How can I resolve it?</p>