# How to create push notification in ionic 2

**URL:** <https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184>\
**Category:** ionic-v3\
**Created:** [August 31, 2016, 2:22pm UTC](https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184 "2016-08-31T14:22:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagi\_uziel](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@sagi\_uziel](https://forum.ionicframework.com/u/sagi_uziel)\
**Post date:** [August 31, 2016, 2:22pm UTC](https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184/1 "2016-08-31T14:22:45Z")

</div>

Hi,  
I need a good guide to install ionic 2 push notification in android.

I tried this link ([http://docs.ionic.io/services/push](http://docs.ionic.io/services/push)) and it doesnt work.

Thanks

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [August 31, 2016, 3:01pm UTC](https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184/2 "2016-08-31T15:01:41Z")

</div>

What doesnt work? We’ve gone through the docs many times and can verify that they do indeed work.  
Could you explain?

---

<div class="post-metadata">

**Author:** ![sagi\_uziel](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@sagi\_uziel](https://forum.ionicframework.com/u/sagi_uziel)\
**Post date:** [August 31, 2016, 3:08pm UTC](https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184/3 "2016-08-31T15:08:06Z")

</div>

I run

> ionic build android

and got this error:

> BUILD FAILED

> Total time: 36.124 secs

> Error: /home/ubuntu/workspace/WriteNow/platforms/android/gradlew: Command failed with exit code 1 Error output:  
> FAILURE: Build failed with an exception.

> - What went wrong:  
> Execution failed for task ‘:processDebugGoogleServices’.
> 
> > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at [Service End for Bintray, JCenter, GoCenter, and ChartCenter | JFrog](https://bintray.com/android/android-tools/com.google.gms.google-services/)) or updating the version of com.google.android.gms to 9.2.0.

> - Try:  
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

---

<div class="post-metadata">

**Author:** ![chanyap92](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@chanyap92](https://forum.ionicframework.com/u/chanyap92)\
**Post date:** [September 7, 2016, 3:18am UTC](https://forum.ionicframework.com/t/how-to-create-push-notification-in-ionic-2/62184/4 "2016-09-07T03:18:45Z")

</div>

i have encounter the same problem…seem like this is the problem caused by the push plugin…just install the older version solved my problem and now working fine

im using ‘phonegap-plugin-push 1.7.1’
