- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello World,
As usually the latest update screws everything over.... Sigh, how comes it looks like every time things work fine and people get accustomed to them you guys do something to mess it all up?! :(
Here's a screenshot below, can anyone please help me get those plugins to work so I can publish my game? I'm using cordova cli version 5.1.1, crosswalk runtime embedded 15, and building with crosswalk for android.
If you need anymore info or screenshots let me know.
Thank you.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i had same issue u need to readd all your plugin , no change in code just readd all plugin will fix your issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And how do I do that? I don't know the repo url of each plugin.... :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings
You can add the social sharing plugin from within the plugin manager - Add plugins -> Featured Plugin -> Social sharing (last on the list).
You can add the cordova-plugin-game this way:
- go to import a third-party plugin and choose the "registry" import option (default)
- import the plugin by this name: cordova-plugin-game and leave version blank to get the latest
Add the cordova-plugin-payment-paypal this way:
- go to import a third-party plugin and choose the "git repo" import option
- import the plugin by this URL: https://github.com/cranberrygame/cordova-plugin-payment-paypal.git
- leave other fields blank to get the latest
I believe the rate app this one. Import it this way:
- go to import a third-party plugin and choose the "git repo" import option
- import the plugin by this URL: https://github.com/cranberrygame/cordova-plugin-share-reviewapp.git
- leave other fields blank to get the latest
That covers all the four that failed to install. Please post back if this doesn't resolve your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The cordova-plugin-game worked Anusha, the rest of them give me the error below when I try to fetch them.
Olso, in case you eventually manage to help me fetch them, is there a way that I can get intelxdk to import the exact versions that I have in my game, instead of the latest? I trust those versions, they worked fine for me before, so I'd rather not change them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings - not sure if you have followed along elsewhere on the forums, but one thing to note is that your project needs to be on the same physical disk as your XDK for many plugins to install correctly. Note - must be the same physical drive - symlinks don't do any good here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Absolutely! For featured plugins, after you add them, click on the drop down and edit version number:
You can specify the version you want to import when you do the import for third party plugins.
The process.exit() error is most likely because of a XDK Drive location issue in the Plugin Manager. Can you make sure your project directory is in the same drive as your XDK installation (most likely C:\). This is a bug with the latest release that we are working on. A fix will be available soon. This is assuming you are on a Windows machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, I moved the project in the same directory as intelxdk and now it lets me fetch the plugins.
But I still need the link for the social sharing one please Anusha. The one you said from "featured plugins" is made by Eddy Verbruggen, and the one I'm using is from cranberrygame. And the cordova game that I use is from cranberry game too, are you sure the link you gave me above is correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings- where did you find the CranberryGames SocialSharing plugin the first time? I ask because, they don't have a repo for a SocialSharing plugin on Github (see their repo list: https://github.com/cranberrygame?tab=repositories) but they are listed as a contributor to EV's SocialSharing plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cranberry himself gave me a zip archive with all his plugins a while ago. The archive is called "Cranberrygame phonegap plugins", inside it one of the folders is called "Html5 share" and inside that folder one of the plugins(the one I use) is called "cranberrygame_ShareApp_2.0.10".
LE: Same deal with the status_bar plugin. I see that intelxdk automatically added it from the "core plugins" section, but the one I use is made by cranberry too...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings,
This is what I got from your build log:
It looks like the Eddy Verbruggen plugin. I noticed that cranberrygame has contributed to the Eddy Verbruggen social share plugin (you can see that in cranberrygame's github page - https://github.com/cranberrygame). So that was probably the one you got in the zip archive he gave you.
Intel XDK automatically adds the status bar plugin if you created a new project from a sample or template in the latest release (v2496). Projects created in older versions will not have the status bar plugin. If you have a local copy of the status bar plugin you are referring to, you can import it as a local plugin. Just place it in your project directory. Outside the 'plugins' or 'WWW' directory and import it as a local plugin.
Another way to confirm if the Eddy Verbruggen social share plugin is the same as the one cranberrygame gave you is to check if the plugin IDs match.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And the cordova game that I use is from cranberry game too, are you sure the link you gave me above is correct?
Yes. The plugin ID I gave you is cordova-plugin-game. I asked you to import from registry because it looks like cranberry has moved this plugin to the new npm registry (https://www.npmjs.com/package/npm-registry). If you search that ID in the registry, you will see that the owner is cranberrygame.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
K, well I followed your instructions this morning Anusha, all the plugins fetched successfully from what I can tell(they appear both in the list in intelxdk and on the disk in my projects "plugins" folder), but when I try to build I get the exact same error, as you can see from the screenshot at the end of the post.... :((((((((((((((((((((
Ok, while you try to come up with another solution let me tell you about some of the habbits I have formed using intelxdk, and the reasons why I do them. I don't think any of these are causing my issues because these steps have worked fine for me untill now, but you never know....
So, here are some of the steps I follow when creating a project:
1. After I choose it's name and the project gets created successfully, I close intelxdk, then I copy my project files in the www folder(overwriteing the index.html), then I open intelxdk again.
Reason: I wanna make sure that all the files I copied are loaded correctly in intelxdk and I'm afraid that if I leave intelxdk open while I copy them it won't detect some of the changes.
2. After 1 is done I go to the develop tab, I expand the www there, I select the intel.config.additions.xml(so the one from inside the www folder which was generated by the program in which I created&exported my game). I then copy & delete everything from that .xml, then I select the intel.config.additions.xml from outside the www folder(so this one would be the one intelxdk generates), I delete everything from this xml, and I paste what I copied from the other xml.
Reason: When we where just starting to use intelxml about 1-2 years ago and trying to figure all this stuff out, me and a friend of mine ran into an issue where after adding another plugin, building and testing the game on an android device we noticed that even plugins/features that worked before don't work anymore. So we started troubleshooting, tried all kinds of different things and the conclusion we came to is that the "program"(or the android os, whichever one it is/whatever you call it) first reads the .xml from within the www folder, however if it encounters any issues/errors there it stops reading it, and it starts reading the .xml folder outside the www folder; so if that one is empty you're screwed. So by having everything directly in that xml everything worked fine from that point on.
3. After 2 is done I delete the line/entry about the phonegap game plugin, because it's broken. I then paste the following to replace it:
<intelxdk:plugin intelxdk:name="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#544946ee7789ef539f7efe02ea6b12d03b1b8c62" intelxdk:value="https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952" >
<intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_GOOGLE_PLAY_GAME_APP_ID' />
</intelxdk:plugin>
and then I copy&paste my Id from the googleplay console in the ' ' where it says YOUR_GOOGLE_PLAY_GAME_APP_ID. Then I click file>save all.
Reason: Like I said the entry the plugin adds for itself is broken for some reason, I think it duplicates part of itself that shouldn't be there. So I have to replace it with that piece of code that is correct. Now how this gets along with the new way in which intelxdk does things, where I have to add this plugin manually(before I didn't need to do that) and where after I add it manually I get a little alert box where I have to enter that ID again(remember I already inserted the ID in the code from the .xml); is anybodys guess....
And those are the main things. Other additional things that I don't think matter, I always leave my project unsigned in intelxdk, I sign all my apks manually later. And for the new option from build settings, "whitelist" I leave it default which has "W3C Widget Acess" selected, is that ok?
Sorry for sooo much text, I just wanna be thorough. If you need clarification on what I've said above, or need any additional info like logs, screens, etc. let me know. I appreciate the help everyone, thank you very much.
Anyway here's the error again, looks exactly the same to me, but what do I know....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
better download files from url u gave and then add plugins via folder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings,
I really appreciate how patient and thorough you are being with this. Regarding point 3, plugin variables, I strongly suggest you use the XDK UI prompt to add them. This creates an entry in your .xdk file like this:
{
"id": "cordova-plugin-game",
"name": "Cordova Game plugin",
"version": "1.0.105",
"originType": "cordova.io",
"origin": "cordova-plugin-game",
"gitref": "",
"paramvals": {
"APP_ID": "ANUSHA_GOOGLE_PLAY_GAME_APP_ID"
},
"sourceLocation": "plugins/cordova-plugin-game",
"selectedState": "Included",
"checksum": "732aadba",
"dependsOn": [
"com.google.playservices",
"android.support.v4"
],
"topLevel": true,
"cordovaVersion": ">=3.0.0",
"author": "Sang Ki Kwon (Cranberrygame)",
"permissions": {
"android:name": [
"android.permission.INTERNET",
"android.permission.ACCESS_NETWORK_STATE"
]
},
"description": "show leaderboard and achievements (google play game and game center, SDK)",
"data": {},
"dependedBy": [],
"custom": "true"
}
When you build your project, it will create xml files for android, crosswalk, ios and windows8 builds. There it adds the entry:
<intelxdk:plugin intelxdk:name="Cordova Game plugin" intelxdk:value="cordova-plugin-game" intelxdk:version="1.0.105" intelxdk:checksum="732aadba">
<intelxdk:param intelxdk:name="APP_ID" intelxdk:value="ANUSHA_GOOGLE_PLAY_GAME_APP_ID"/></intelxdk:plugin>
It is very bizarre that the build log is still showing the git url for the social share plugin when you downloaded it from the registry this time. Do you think you can send me a zipped version of your project directory? You can omit the source files if you wish. I think this will help us narrow down the problem faster than a back and forth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you say "project directory" Anusha do you mean the folder I get when I export the game from Construct 2(the program I use) or the folder I get after messing with intelxdk?
P.S. Your suggestion didn't work Mour D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The folder you get after messing with Intel XDK. The one with .xdk file and plugins directory etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
K, I've sent you a message with the archive. Thanks for the help, I'm quite curious to see what conclusion you reach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@vikings
Okay, I figured out what the problem is. The older plugins you were fetching from git repo (and was throwing the error) were still defined in the additions xml file. That is why even when I removed the four plugins entirely, it was still throwing me the exact same error message. I changed your additions file and replaced the contents with that of our standard template.
I also imported the four plugins again and added your app ID for the game plugin. I will send you the fixed project back via PM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@matrix
If none of the suggestions in this thread helped you, please start another thread with more information on the version of XDK you are using, steps that can help us reproduce the error etc. It is very difficult for us to assist more than one person in a thread.
Btw, a new hotfix has been released which you can update from within your XDK. It has a bunch of fixes described in the release notes here https://software.intel.com/en-us/xdk/docs/release-notes-information-intel-xdk. It might have already solved your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok Anusha, I'll build it and send it to someone to test it and see if anything works, but I doubt it... Since I initially deleted the plugins from the .xml from the www folder, and now you deleted them from the .xml outside the ww folder, it means that the plugins are not mentioned anywhere now... :(
Anyway, thank you, I'll let you know how the test turns out.

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