GCMPushPlugin icon indicating copy to clipboard operation
GCMPushPlugin copied to clipboard

after adding configuration file and gradle dependencies

Open naqvisyed opened this issue 9 years ago • 1 comments

Could not resolve all dependencies for configuration ':_debugCompile'. Could not find any version that matches com.google.android.gms:play-service s-gcm:7.5.+. Versions that do not match: 9.4.0 9.2.1 9.2.0 9.0.2 9.0.1 + 5 more

naqvisyed avatar Sep 22 '16 12:09 naqvisyed

Edit config file: platforms/android/cordova-plugin-gcmpushplugin/appointment-build-extras.gradle Replace by below lines:

apply plugin: 'com.google.gms.google-services'

buildscript {
    repositories {
        jcenter()
    }

    dependencies {
        classpath 'com.google.gms:google-services:3.0.0'
    }
}

dependencies {
    compile "com.google.android.gms:play-services-gcm:9.0.0"
}

bluedoctorhazan avatar Mar 09 '17 10:03 bluedoctorhazan