New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to apply plugin [id 'com.google.gms.google-services'] Plugin with id 'com.google.gms.google-services' not found. #2
Comments
Please refer to this guide to setup the Gradle configuration: https://developers.google.com/cloud-messaging/android/client
I will add it to the README as well, it seems the gradle extra file I added doesn't really work right now, I will investigate further and update. |
Now its working after adding dependencies to top level gradle file. |
Hi, sorry for the long wait, my responses for your doubts are:
Thanks! |
i'm struggling with this from about an hour. Could you describe in a more detailed way where to put those lines of code? |
Post your gradle fileSent from Yahoo Mail for iPhoneOn 25-Sep-2015, 3:56:03 PM, Vahn84 wrote:i'm struggling with this from about an hour. Could you describe in a more detailed way where to put those lines of code? —Reply to this email directly or view it on GitHub. |
Please read here for my findings: |
It started building but now i got error com.android.dex.DexException: Multiple dex files define Lorg/apache/cordova/AuthenticationToken Gradle files interested are two this is the one in android/CordovaLib (supposing is the app-level build.gradle)
AND this is the one in android root (supposing is the top level build.gradle)
..... |
Removing and adding again the android platform in cordova solved the issue! |
Stuck on this! If anybody has successfully configured this, then can you please update the README.md properly? Right now it is very sparse and confusing. I can't get what top level gradle file is or where to add this new classPaths. |
+1 Stuck on this! |
@tonholis |
@srameshr Thanks! I'll check the Phonegap push plugin. |
phonegap push no longer works though, deprecated |
Add the following to plugin.xml <framework src="build-extra.gradle" custom="true" type="gradleReference" /> |
Add 'classpath 'com.google.gms:google-services:3.0.0' dependencies at project level build.gradle Refer the sample block from project level build.gradle
} |
I am getting above error after adding plugin using cordova plugin add cordova-plugin-gcmpushplugin
The text was updated successfully, but these errors were encountered: