Skip to content Skip to sidebar Skip to footer

Cannot Build App With Gradle With Flavors And Com.google.gms.google-services Plugin

When i try to compile my app with flavors based on minSdk i receive an error: Error:Execution failed for task ':app:processCurrentDebugGoogleServices'. Please fix the version c

Solution 1:

One workaround for this issue is to put the apply plugin: 'com.google.gms.google-services' line below your dependencies block which allows the plugin to determine what version of Play services you are using. Since you've already done that, try to download Google Support Repository. You can find it in Tools -> Android -> SDK Manager -> SDK Tools.

You may also check the answers in this related SO post: Google Play Services GCM 9.2.0 asks to "update" back to 9.0.0

Post a Comment for "Cannot Build App With Gradle With Flavors And Com.google.gms.google-services Plugin"