How to build app for ubuntu in cordova? -


i've built app android in cordova in ubuntu 14.04. however, got error while trying run cordova build ubuntu in project folder, following:

error building 1 of platforms: error: /home/ninger/cordova/vfinder/platforms/ubuntu/cordova/build: command failed exit code 1 may not have required environment or os build project error: /home/ninger/cordova/vfinder/platforms/ubuntu/cordova/build: command failed exit code 1     @ childprocess.whendone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)     @ childprocess.eventemitter.emit (events.js:98:17)     @ maybeclose (child_process.js:743:16)     @ process.childprocess._handle.onexit (child_process.js:810:5) 

after run cordova -d run ubuntu, got verbose output following, same hints:

missing icon element in config.xml generating config.xml defaults platform "ubuntu" calling plugman.prepare platform "ubuntu" preparing ubuntu project processing configuration changes plugins. iterating on installed plugins: [ 'cordova-plugin-whitelist' ] writing out cordova_plugins.js... missing icon element in config.xml running command:/home/ninger/cordova/test/platforms/ubuntu/cordova/run  building desktop application... missing icon command finished error code 1:/home/ninger/cordova/test/platforms/ubuntu/cordova/run  error running 1 or more of platforms: error: /home/ninger/cordova/test/platforms/ubuntu/cordova/run: command failed exit code 1 may not have required environment or os run project 

i faced same problem, , after finding on internet different solutions didn't work. did little of research in git repository https://github.com/apache/cordova-ubuntu apparently bug has been solved during summer last release last december. solving add platform directly repository this

cordova platform add https://github.com/apache/cordova-ubuntu

hopefully solve problem.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -