Phonegap android failing after adding phonegap-plugin-push -


there lots of issues talking phonegap push notification plugin. may it's updating time time, working solutions people not work others.
i created fresh phonegap project(cli 5.1.1) , added android platform , above plugin. when trying compile it's failing below error

could not find version matches com.android.support:support-v13:23+

below 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 exception.

  • what went wrong: problem occurred configuring root project 'android'.

    could not resolve dependencies configuration ':_debugcompile'. not find version matches com.android.support:support-v13:23+ . searched in 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 --stacktrace option stack trace. run --info or --debug option more log output.

build failed

how overcome issue?

update android sdk.

the cordova plugin named "phonegap-plugin-push" needs "android support library version 23"

process explain in here

compiling

as of version 1.3.0 plugin has been switched using gradle/maven building. need ensure have installed android support library version 23 or greater.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -