Skip to content

Instantly share code, notes, and snippets.

@mariusbolik
Created October 1, 2018 16:44
Show Gist options
  • Save mariusbolik/460690bdd76806d5a39744a91315680e to your computer and use it in GitHub Desktop.
Save mariusbolik/460690bdd76806d5a39744a91315680e to your computer and use it in GitHub Desktop.
Cordova: Fix Android build error by adding com.google.gms:google-services to build.gradle
buildscript {
repositories {
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:4.1.0'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment