There are lots of issues talking about Phonegap push notification plugin. May be it's updating time to time, some working solutions for some people not work for others.
I just created a fresh phonegap project(CLI 5.1.1) and added android platform and above plugin. When trying to compile it's failing with below error
Could not find any version that matches com.android.support:support-v13:23+
Below is the detailed compile error
Running command: cmd "/s /c "C:\Users\me\Documents\PhoneGap_Apps\hello\plat forms\android\cordova\build.bat""
ANDROID_HOME=F:\Softwares\Android\adt-bundle-windows-x86_64-20140702\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45
Running: C:\Users\me\Documents\PhoneGap_Apps\hello\platforms\android\gradle w cdvBuildDebug -b C:\Users\me\Documents\PhoneGap_Apps\hello\platforms\andr oid\build.gradle -Dorg.gradle.daemon=true
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_debugCompile'. Could not find any version that matches com.android.support:support-v13:23+ . Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v13/maven-me tadata.xml
https://repo1.maven.org/maven2/com/android/support/support-v13/
file:/F:/Softwares/Android/adt-bundle-windows-x86_64-20140702/sdk/extra s/android/m2repository/com/android/support/support-v13/maven-metadata.xml
file:/F:/Softwares/Android/adt-bundle-windows-x86_64-20140702/sdk/extra s/google/m2repository/com/android/support/support-v13/maven-metadata.xml
file:/F:/Softwares/Android/adt-bundle-windows-x86_64-20140702/sdk/extra s/google/m2repository/com/android/support/support-v13/ Required by: :android:unspecified
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
How to overcome this issue?