Arguments to path.join must be strings

4 posts, 0 answers
  1. Dan
    Dan avatar
    10 posts
    Member since:
    Sep 2013

    Posted 03 Oct 2013 Link to this post

    I am trying to build a project in Icenium using Cordova 3.0.0.  My project fails to build with the error 'Arguments to path.join must be strings'.

    The problem is I am not using path.join in my project or plugins.

    I created a new project in Icenium Graphite
    I added plugins from GitHub for File and FileTransfer.
    I tried to Build Android
    Your package failed to build. (Arguments to path.join must be strings).  There is no other debug information.
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Oct 2013 Link to this post

    Hi Dan,

    This is an indication that you custom Cordova plugin cannot be built, usually due to incorrect plugin.xml file. Have you checked the Making a Custom Plugin Plugman-Compatible documentation section that outlines how to modify plugin.xml, so that it can be used by Icenium?

    If you're unable to identify the problem with your plugin, let us know which is the project and plugin in question and we would take a look.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Dan
    Dan avatar
    10 posts
    Member since:
    Sep 2013

    Posted 08 Oct 2013 Link to this post

    Hi Steve, I am still getting the error with the FileTransfer plugin added.  The project will build with the File plugin added.  My project workspace is DanFileTransfer.  Any direction would be appreciated.
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 10 Oct 2013 Link to this post

    Hi Dan,

    Thanks for the clarification. I reviewed your app and noticed that you're trying to install the Cordova core plugins manually as custom plugins. As I've explained in your previous forum "Problems using Device Plugin", you do not have to do this for Icenium as the core Cordova plugins are already available in Icenium project.

    I also see that you base your project on our file-transfer sample, which is working correctly as it is, please clone it from Mist/Graphite and deploy it on your device as it is without any changes to verify that.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top