- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am having some hiccups with the new plugin system after updating to the latest XDK. I have successfully built with many custom plugins before including the one in the error below (which is actually only a plugin.xml file that I use to include things into into Info.plist, etc. that aren't possible with the intelxdk.additions.xml file.
However, as the project is being zipped to be uploaded, I get the rather vague error below:
Unable to build
Plugin 'Base' appears to be invalid. Please remove it and re-add it using the Plugin Manager, on the Projects tab. If you do not need this plugin, use the Plugin Manager to remove it from your project.
That doesn't really give me much info on what could be wrong. I have tried removing and re-adding the plugin as suggested but still get the same cryptic message. Is there an error log I can peek at to see what it actually doesn't like? It seems the error happened client side before the build server gets the full upload if I am reading the flow correctly.
This plugin worked fine with the 3.5 CLI version and the old XDK. I am getting ready to build to submit to the app and was just trying to migrate to all the latest plugin/CLI versions to future proof everything. Any tips are really appreciated.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using the same account as you are here in the forums? I cant see any build attempts for this email address since July.
Can you try creating a new blank app, add your plugins, then try and build?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
That is correct. I have not tried to build my app since July (with the latest XDK version then). The error message I noted above seems to occur client side and does not upload to the build server. Does the XDK do any checking of a plugin folder while it zips the bundle to send to the build server?
Even creating an empty project and doing nothing except adding the Base plugin gives the same error message.
Thanks for your help,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An update:
Though the error kept popping up after every upload, it does look like the bundle does get uploaded and I can use the "use existing" button to start the build. It does still fail (and has no detailed build error log link) and the short error log makes no mention of the "Base" plugin at all. I am not sure what the issue is or if the Base Plugin even got uploaded. As I mentioned, I have built successfully with it before. It looks like the detailed build logs that helped me so much before were missing from the failed build page.
Nevertheless, using some time consuming trial and error, I discovered that the client side validation requires a www directory with at least one well formed Cordova plugin Javascript file in it even if that js file is not referenced by plugin.xml. That is a pretty unusual behavior/requirement that wasn't present before since it is possible for a plugin to have custom code but not a JS API to interact with it. I have now been ablt to upload successfully without an error message and build successfully all by trial and error and luck.
I would love to know more about this unusual client side error checking requirement just in case and would really love to make sure detailed error logs and error messages are available whenever possible so that I don't have to bug you with these issues. Thank you so much for all your help as always!
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have asked one of our devs to look into this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you send me a private message and attach your entire project directory, including plugins that you are using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure thing John. Do you want the whole project containing a version of the plugin that caused the issue or just the problematic plugin? As I mentioned, just adding the "Base" plugin alone is enough to tigger the error message. Happy to send whatever you guys need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Send it all.
What version of the XDK installed?
If you are not on the latest try updating and see if that fixes the issue.

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