Using Custom URL Scheme cordova plugin causes compilation error(Server exception)

Thread is closed for posting
2 posts, 0 answers
  1. ruchin
    ruchin avatar
    35 posts
    Member since:
    Jun 2015

    Posted 16 Dec 2015 Link to this post


    I am required to make use of the Custom URL Scheme cordova plugin in my app.When I do so, I get the compilation error (Server exception)given below:-


    Server exception
    Project "myZypDev.tmp.proj" (default targets): Warning: Cannot include the following item(s) in your application: Plugins\SMS-0.1.1\.gitignore;Plugins\SocialSharing-4.3.17\.gitignore;Plugins\Toast-2.1.1\.gitignore;Plugins\Toast-2.1.1\src\blackberry10\native\.cproject;Plugins\Toast-2.1.1\src\blackberry10\native\.project. The build system treats items with a leading dot as hidden files or directories and does not process them. Rename the affected items in your project and try again. android Build Tooling revision 2015.11.25.2r Warning: Failed to install 'nl.x-services.plugins.launchmyapp':Error: Variable(s) missing: URL_SCHEME at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:324:23 at _fulfilled (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:787:54) at self.promiseDispatch.done (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:816:30) at Promise.promise.promiseDispatch (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:749:13) at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:557:44 at flush (/home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/q/q.js:108:17) at process._tickCallback (node.js:419:13) Warning: Variable(s) missing: URL_SCHEME Warning: /home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189 Warning: throw Error("exit code: " + code); ^ Warning: Error: exit code: 1 at Error (<anonymous>) at ChildProcess.<anonymous> (/home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189:14) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:810:12) Error: Build failed during execution Error: 'Build failed with error code 8' Done building project "myZypDev.tmp.proj" -- FAILED. 


    However when I try to Load this Custom URL Scheme cordova plugin into a new Telerik AppBuilder project using load in appbuilder,it works fine.

    I am not able to find out what really is causing the above mentioned error.Can you pls look into my sample app named myZypDev and tell me where I am going wrong.


    Ruchin Dayal


  2. Kaloyan
    Kaloyan avatar
    878 posts

    Posted 21 Dec 2015 Link to this post

    Hello Ruchin,

    The reason for the build failing on your side is missing plugin variable for the Custom URL Scheme plugin. This can be seen from the build failure output:
    Error: Variable(s) missing: URL_SCHEME at /home/builder/BpcTooling/Cordova3/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:324:23

    Please, correct this in your project's Properties > Plugins page (as explained here) and let me know if you will require further assistance.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top