Error with push notification PhoneGap PushPlugin


#1

Hi , I try to follow this tutorial http://devdactic.com/ionic-push-notifications/
But I receive a build error, I try to understand why and I found this problem
please try this:

ionic start MYapp blank
ionic platform add android
ionic plugin add https://github.com/phonegap-build/PushPlugin.git
ionic build android

I receive this error

Can you please help me?
ps. Android SDK manager I have installed all
thanks
Fabio


#2

Ohhh MY GOOD this is a NIGHTMARE every time there something wrong!!!..
MY FATCH GIVE ME AN ERROR so I need to follow this http://stackoverflow.com/questions/27388746/sdk-manager-unable-to-fetch-content-connection-to-https-dl-ssl-google-com-re

Run SDK Tools like Administrator - In tools disable cache - reload all

After this I can made your suggestion and run

android list sdk
android update sdk --no-ui --filter extra

And after this it run!!!
Fabio

https://github.com/driftyco/ionic-service-push-client/issues/22#issuecomment-142625596


#3

The lastest push plugin creates the build error for some reason. Until they patch the problem try to install an earlier version of the push plugin. I got mine working with an earlier version of the push plugin. You can do so with following command:

ionic plugin add https://github.com/phonegap-build/PushPlugin.git#2.4.0

Before doing so, remove the plugin and add it again.


#4

@sidthesloth With PushPlugin.git#2.4.0 is impossible to build
I receive this error


#5

Check this link out :