-
Notifications
You must be signed in to change notification settings - Fork 1.9k
GoogleCloudMessaging error #604
Comments
@furyscript duplicate of #477 #424. Your Android build environment is not correct. |
With version 1.3.0 works why? @macdonst |
@furyscript because version 1.3.0 does no use the most up to date version of GoogleCloudMessaging. As of 1.4.x I switched to using gradle for the gcm dependency. |
Ok thanks for anwser, sorry if I ask... But if I'm using last of version of this plugin, and last version of googleplayservices how can I resolve my issue?? I required both @macdonst |
@furyscript sorry, are you saying you are using the latest googleplayservices plugin? |
Yes last version of googleplayservices and last version of this plugin. |
@furyscript You misunderstood my question. Are you using this plugin? https://www.npmjs.com/package/cordova-plugin-googleplayservices |
I think yes, this is my package.json for cordova plugin. I'm using ionic. @macdonst |
@furyscript yeah, don't do that. That is the old way of doing things. In fact the original plugin is deprecated see here: https://github.com/MobileChromeApps/google-play-services so you must be using the one from here: https://github.com/floatinghotpot/google-play-services this is a really bad idea as you can end up including the jar file twice and screwing up your app, like you are seeing. Why do you need to use that plugin? |
is required for
This is new package.json @macdonst https://gist.github.com/anonymous/521394f9fcfe7c9c235d |
@furyscript right, so this is not a bug with the phonegap-plugin-push package. You are using some outdated plugins. You should raises issues on those plugins to get them to fix the issues or move to a more up to date admob plugin like: https://github.com/floatinghotpot/cordova-admob-pro |
Ok at the moment I remove android admob plugin, but now I have this error :
Same google play services of floatinghotpot include |
@furyscript delete your platforms directory and start over. |
Also not work, I run |
I had the same error. Removing plugin cordova-plugin-googleplayservices solved my issue. |
But I require |
Hi @furyscript did you find a resolve? I am experiencing the very same issue and also cannot afford to remove |
This thread has been automatically locked. |
When I installed this plugin for my Ionic projects I still have this error when I build apk.
I have all requirements plugin.
The text was updated successfully, but these errors were encountered: