- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
My build keeps failing when I add the third party push plugin (https://github.com/phonegap-build/PushPlugin.git)? Some help could really be appreciated. I have tried using several different releases of the plugin and it still fails every time. I am trying to build for Android with Crosswalk.
- Tags:
- HTML5
- Intel® XDK
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I vaguely remember coming across this issue before and I think the solution was to include it as a local plugin. Could you download it to your project directory and reference that plugin as a local plugin following the instructions here: https://software.intel.com/en-us/xdk/docs/adding-third-party-plugins-to-your-xdk-cordova-app ? Try the 2.4.0 version.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks very much for your quick reply! Okay I will try that. When I include the local plugin it first has to be copied into the local www directory right or do I put it in the plugins directory?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Importing a third-party plugin that resides in a local directory requires that the plugin be located within your project's "source directory." Normally this source directory is named "www" and is located inside your application's project directory (see the Project Info in the Projects tab for the name and location of your project's source directory). A local plugin will be included with the source bundle that is uploaded to the cloud-based build server; the entire contents of your project's "source directory" are included as part of that uploaded bundle.
WWW directory.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi,
I have the same problem. My app fail building for Android if I include Push Plugin (https://github.com/phonegap-build/PushPlugin.git). I tried include it locally in WWW folder and nothing. The app builds for iOS but not Android Crosswalk or regular Android.
I'm using CLI 5.1.1 (I cant downgrade) and Intel XDK version 2548.
Can someone help me and advice me how to fix this issue ?
Kindly
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Roman,
It looks like that plugin is deprecated. Could you try using this one instead (https://github.com/phonegap/phonegap-plugin-push)? If you are doing a local import, put the plugin anywhere outside the 'plugins' or 'WWW' directory and point to that. I know this is contradictory to what I posted in reply to Nick. But the latest version of XDK creates a local copy of your plugins in the 'plugins' directory that gets pushed to the build server with your source files. If you have the local copy in WWW, it will then create a duplicate in your 'plugins' directory making the final project size unnecessarily bigger.
If you have a build log, we can confirm if that plugin actually got installed or not.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hey,
Thanks for getting back to me. I am aware of this plugin being depricated I was just hoping to make it work cos I have bunch of existing code that I wanted to use and that worked before (about 2 updates before current one).
However I tried to use the new version and even bring it down locally and put outsise 'www' or 'plugins' directory and app (simply app, that doesnt do anything, made it for test) fail to build in cloud. In attachments please see my log.
Thank you and I really appreciate any help with this. It must be something simple..
Kindly
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Roman B. wrote:
Hey,
Thanks for getting back to me. I am aware of this plugin being depricated I was just hoping to make it work cos I have bunch of existing code that I wanted to use and that worked before (about 2 updates before current one).
However I tried to use the new version and even bring it down locally and put outsise 'www' or 'plugins' directory and app (simply app, that doesnt do anything, made it for test) fail to build in cloud. In attachments please see my log.
Thank you and I really appreciate any help with this. It must be something simple..
Kindly
Same problem for me
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
same problem :
not possible to build android when using Push Plugin et cordova 5.1.1.
I tried all possible solutions, the new push plugin repository, change the jar, etc...
It is a problem that force me to stay on cordova 4.1.2.
How to fix it without using pushwoosh ?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I confirm, what @Mike C. said. This makes app build for android that have push plugin included (version 1.2.3 from link prowided by Mike C.). I did not test if the plugin actually work yet. If anyone know, please let us all know (dunno when I get round to test)
Kindly
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
For CLI 5 give this a try:
- add "third-party plugin"
- choose cordova registry
- phonegap-plugin-push
- version 1.2.3
With CLI 4 give this a try:
- add "third-party plugin"
- choose git repo
- https://github.com/phonegap-build/PushPlugin
- tag 2.4.0
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thanks @Paul F. I confirm it works. Tested on with Android 5.1, iOS7 and iOS 9.0.3

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite