- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
when i add " <intelxdk:plugin> </intelxdk:plugin>" to "intelxdk.config.additions.xml" the build fail for android crosswalk 11 with the message below. when i remove " <intelxdk:plugin> </intelxdk:plugin>" from "intelxdk.config.additions.xml" it work .
however it work without problem for android build (then i have problem with code version in google play).
the problem exist only when i build with crosswalk.
this problem started suddenly around 3 days ago .
also where can i access more detailed log ?
thank you
- The App ID is "**************************"
- The App Name is "**************"
- Crosswalk Version: 11.40.277.7
- Plugin "org.apache.cordova.device" (0.2.13) installed.
- Plugin "org.apache.cordova.splashscreen" (0.3.5) installed.
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a couple of problems with the example you provided:
- With this version of the XDK, local plugins must be placed inside your source directory (usually "www").
- The version of the plugin you provided has a plugin.xml bug (see the repo, he made a fix recently).
- You must provide the plugin BILLING_KEY parameter in the additions.xml file along with the plugin reference.
- You can also provide a reference to the github repo to build the plugin.
I cannot tell you if the plugin works, only that it builds.
These lines in the additions.xml file are what is needed to make it build locally (and assuming you have pulled down the version I reference, which is an update to the version you were using -- I pulled it down by selecting the 3.11.1 tag in the repo and then selecting the download ZIP option):
<intelxdk:plugin intelxdk:name="cc-fovea-cordova-purchase" intelxdk:value="cordova-plugin-purchase-3.11.1" > <intelxdk:param intelxdk:name="BILLING_KEY" intelxdk:value="MIIB...your-big-long-billing-key-here...AQAB" /> </intelxdk:plugin>
These lines in the additions.xml file are what is needed to make it build from a repo:
<intelxdk:plugin intelxdk:name="cc-fovea-cordova-purchase" intelxdk:value="https://github.com/j3k0/cordova-plugin-purchase.git#v3.11.1" > <intelxdk:param intelxdk:name="BILLING_KEY" intelxdk:value="MIIB...your-big-long-billing-key-here...AQAB" /> </intelxdk:plugin>
I've attached the version of the plugin that I downloaded and tested against, for your reference.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This seems to be the same problem as reported in a few other threads. I think 3rd party plugins for crosswalk builds are broken at the moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you for your reply . then the solution is to wait ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide a simple application, including the <project-name>.xdk file that is in the root of your project directory, that illustrates this problem. It will help immensely in debugging this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
here the blank proje466913ct reproducing the same error when i add the plugin. (here the same error for crosswalk build and android build)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Try to change the version of your plugin to cordova-plugin-purchase-3.9.0-beta.4 . I tried building your app with the latest version of this plugin it failed when i tried with this version it worked. I downloaded it locally from here https://github.com/j3k0/cordova-plugin-purchase/releases and included inside WWW directory of your project and removed the previous one and it worked.
Please see the attached zip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a couple of problems with the example you provided:
- With this version of the XDK, local plugins must be placed inside your source directory (usually "www").
- The version of the plugin you provided has a plugin.xml bug (see the repo, he made a fix recently).
- You must provide the plugin BILLING_KEY parameter in the additions.xml file along with the plugin reference.
- You can also provide a reference to the github repo to build the plugin.
I cannot tell you if the plugin works, only that it builds.
These lines in the additions.xml file are what is needed to make it build locally (and assuming you have pulled down the version I reference, which is an update to the version you were using -- I pulled it down by selecting the 3.11.1 tag in the repo and then selecting the download ZIP option):
<intelxdk:plugin intelxdk:name="cc-fovea-cordova-purchase" intelxdk:value="cordova-plugin-purchase-3.11.1" > <intelxdk:param intelxdk:name="BILLING_KEY" intelxdk:value="MIIB...your-big-long-billing-key-here...AQAB" /> </intelxdk:plugin>
These lines in the additions.xml file are what is needed to make it build from a repo:
<intelxdk:plugin intelxdk:name="cc-fovea-cordova-purchase" intelxdk:value="https://github.com/j3k0/cordova-plugin-purchase.git#v3.11.1" > <intelxdk:param intelxdk:name="BILLING_KEY" intelxdk:value="MIIB...your-big-long-billing-key-here...AQAB" /> </intelxdk:plugin>
I've attached the version of the plugin that I downloaded and tested against, for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thank you very much for your answers.
I downloaded the version cordova-plugin-purchase-3.11.1.zip . (in this version they forget to change the version number into the plugin.xml file ). then i put it in WWW and add the billing key inside additions.xml file and the plugin.xml file
it build (just hope that the new version of the plugin dont have other error).
Thank you very much

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page