Visual Studio Apache Cordova Error - No Android Version Supplied -


i setting vs community 2015 using apache cordova first time , have run issue when try run program.

1>------ build started: project: cordovademo, configuration: debug android ------ 1>  environment has been set using node.js 0.12.7 (ia32) , npm. 1>  ------ ensuring correct global installation of package source package directory: c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\apachecordovatools\packages\vs-tac 1>  ------ name source package.json: vs-tac 1>  ------ version source package.json: 1.0.4 1>  ------ package not installed globally. 1>  ------ installing globally source package. take few minutes... 1>  npm warn engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.7","npm":"2.11.3"}) 1>  npm warn engine cordova-js@3.6.2: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.7","npm":"2.11.3"}) 1>  > edge@0.10.1 install c:\users\bentley_n\appdata\roaming\npm\node_modules\vs-tac\node_modules\edge 1>  > node tools/install.js 1>  success: platform check edge.js: node.js ia32 v0.12.7 1>  npm warn installmany normalize-package-data bundled npm@1.3.4, bundled package wasn't found in unpacked tree 1>  c:\users\bentley_n\appdata\roaming\npm\vs-tac-cli -> c:\users\bentley_n\appdata\roaming\npm\node_modules\vs-tac\vs-tac-cli.cmd 1>  vs-tac@1.0.4 c:\users\bentley_n\appdata\roaming\npm\node_modules\vs-tac 1>  ├── rimraf@2.2.6 1>  ├── ncp@0.5.1 1>  ├── mkdirp@0.3.5 1>  ├── q@1.0.1 1>  ├── semver@2.3.1 1>  ├── adm-zip@0.4.4 1>  ├── tar@0.1.20 (inherits@2.0.1, block-stream@0.0.8) 1>  ├── fstream@0.1.28 (inherits@2.0.1, graceful-fs@3.0.8) 1>  ├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10) 1>  ├── elementtree@0.1.6 (sax@0.3.5) 1>  ├── request@2.36.0 (forever-agent@0.5.2, qs@0.6.6, oauth-sign@0.3.0, tunnel-agent@0.4.1, json-stringify-safe@5.0.1, aws-sign2@0.5.0, mime@1.2.11, node-uuid@1.4.3, tough-cookie@2.0.0, form-data@0.1.4, hawk@1.0.0, http-signature@0.10.1) 1>  ├── ripple-emulator@0.9.30 (connect-xcors@0.5.2, open@0.0.3, colors@0.6.0-1, accounting@0.4.1, moment@1.7.2, request@2.12.0, express@3.1.0) 1>  ├── edge@0.10.1 (edge-cs@0.2.7, nan@1.9.0) 1>  └── plugman@0.22.4 (q@0.9.7, underscore@1.4.4, nopt@1.0.10, rc@0.3.0, cordova-lib@0.21.6, npm@1.3.4) 1>  ------ npm install of vs-tac@1.0.4 c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\apachecordovatools\packages\vs-tac completed. 1>  ------ installing cordova tools cordova@5.1.1 project npm. take few minutes... 1>  npm warn engine npm@1.3.4: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.7","npm":"2.11.3"}) 1>  npm warn engine cordova-js@4.0.0: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.7","npm":"2.11.3"}) 1>  npm warn engine xmlbuilder@2.2.1: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.7","npm":"2.11.3"}) 1>  npm warn installmany normalize-package-data bundled npm@1.3.4, bundled package wasn't found in unpacked tree 1>  cordova@5.1.1 node_modules\cordova 1>  ├── q@1.0.1 1>  ├── underscore@1.7.0 1>  ├── nopt@3.0.1 (abbrev@1.0.7) 1>  └── cordova-lib@5.1.1 (valid-identifier@0.0.1, osenv@0.1.0, properties-parser@0.2.3, bplist-parser@0.0.6, mime@1.2.11, unorm@1.3.3, semver@2.1.0, dep-graph@1.1.0, rc@0.5.2, shelljs@0.3.0, through2@0.6.3, npmconf@0.1.16, xcode@0.6.7, elementtree@0.1.6, init-package-json@1.8.0, d8@0.4.4, request@2.47.0, tar@1.0.2, cordova-registry-mapper@1.1.10, glob@4.0.6, cordova-app-hello-world@3.9.0, plist@1.1.0, cordova-js@4.0.0, npm@1.3.4) 1>  ------ npm install of cordova@5.1.1 npm completed. 1>  ------ build settings: 1>  ------ build settings: 1>  ------    platformconfigurationblddir: c:\users\bentley_n\desktop\random projects\cordovademo\cordovademo\bld\android\debug 1>  ------    platformconfigurationbindir: c:\users\bentley_n\desktop\random projects\cordovademo\cordovademo\bin\android\debug 1>  ------    buildcommand: prepare 1>  ------    platform: android 1>  ------    cordovaplatform: android 1>  ------    configuration: debug 1>  ------    cordovaconfiguration: debug 1>  ------    projectname: cordovademo 1>  ------    projectsourcedir: c:\users\bentley_n\desktop\random projects\cordovademo\cordovademo 1>  ------    npminstalldir: c:\users\bentley_n\appdata\roaming\npm 1>  ------    language: en-us 1>  ------    changelist.changedfilesios: bower.json,res\icons\android\icon-72-hdpi.png,res\screens\android\screen-mdpi-landscape.png,merges\android\scripts\android2.3-jscompat.js,merges\windows\scripts\winstore-jscompat.js,res\icons\ios\icon-60.png,res\screens\ios\screen-iphone-landscape-736h.png,res\icons\windows\storelogo.scale-100.png,www\scripts\index.js,res\icons\android\icon-48-mdpi.png,res\icons\ios\icon-72.png,res\icons\ios\icon-76.png,res\screens\ios\screen-ipad-portrait-2x.png,res\screens\ios\screen-iphone-portrait-2x.png,res\icons\windows\square71x71logo.scale-240.png,merges\android\scripts\platformoverrides.js,res\screens\android\screen-hdpi-portrait.png,www\css\index.css,res\icons\windows\storelogo.scale-240.png,res\screens\ios\screen-ipad-landscape.png,res\icons\ios\icon-60-3x.png,res\screens\wp8\splashscreenimage.jpg,res\screens\ios\screen-ipad-landscape-2x.png,res\screens\ios\screen-iphone-568h-2x.png,res\icons\windows\square150x150logo.scale-100.png,package.json,res\screens\android\screen-ldpi-landscape.png,res\icons\windows\wide310x150logo.scale-240.png,res\icons\windows\wide310x150logo.scale-100.png,res\icons\ios\icon-72-2x.png,res\icons\ios\icon-76-2x.png,res\icons\ios\icon-small.png,res\icons\windows\square30x30logo.scale-100.png,build.json,res\icons\wp8\background.png,www\index.html,res\icons\ios\icon-40.png,res\icons\ios\icon-60-2x.png,res\screens\android\screen-ldpi-portrait.png,res\native\android\ant.properties,res\icons\windows\square310x310logo.scale-100.png,www\scripts\platformoverrides.js,taco.json,res\icons\windows\square150x150logo.scale-240.png,res\icons\android\icon-36-ldpi.png,merges\windows\scripts\platformoverrides.js,res\screens\ios\screen-iphone-portrait.png,project_readme.html,res\screens\android\screen-xhdpi-portrait.png,res\icons\ios\icon-50-2x.png,res\icons\ios\icon-57-2x.png,res\icons\ios\icon-50.png,res\icons\ios\icon-57.png,res\icons\ios\icon-small-2x.png,res\icons\windows\square70x70logo.scale-100.png,res\screens\windows\splashscreen.scale-240.png,res\icons\android\icon-96-xhdpi.png,res\icons\wp8\applicationicon.png,res\icons\ios\icon-40-2x.png,res\screens\ios\screen-iphone-portrait-667h.png,res\screens\android\screen-hdpi-landscape.png,res\screens\windows\splashscreenphone.scale-240.png,res\screens\windows\splashscreen.scale-100.png,res\screens\ios\screen-iphone-portrait-736h.png,res\screens\ios\screen-ipad-portrait.png,res\screens\android\screen-xhdpi-landscape.png,res\icons\windows\square44x44logo.scale-240.png,res\screens\android\screen-mdpi-portrait.png,config.xml 1>  ------    changelist.deletedfilesios: 1>  ------    changelist.addedpluginsios: 1>  ------    changelist.deletedpluginsios: 1>  ------    changelist.addedplugins: 1>  ------    changelist.deletedplugins: 1>  ------ adding platform: android 1>  no version supplied. retrieving version config.xml... ========== build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== deploy: 0 succeeded, 0 failed, 0 skipped ========== 

below have in config.xml. not sure meant version code. enter image description here

and these android sdks downloaded

enter image description here

any feedback why experiencing error appreciated!

could run dependency checker , verify have installed cordova expects have?

go tools -> options -> tools apache cordova , click "run dependency checker" then, install says you're missing.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -