Reputation: 4792
I am having strange issue in Cordova Tools for Visual Studio 2013 Update 5 Installation, there is no error/warning during the build process.
I have configured all the Environment Variables and the required Android Packages are all installed properly.
When I installed the Cordova Tools for Visual Studio I faced few Android SDK package errors and after installing them, now there is no error.
Here is the output of the build-
1>------ Build started: Project: BlankCordovaApp1, Configuration: Debug Android ------
1> GeneratedJavascript=file.js;file.js.map;file.js;file.js.map
1> C:\Users\Hardwell\documents\visual studio 2013\Projects\BlankCordovaApp1\BlankCordovaApp1>call "C:\Program Files (x86)\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.33 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\FQVYKMBU.EB0\packages\vs-mda
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
All I am just trying a new blank project to build and run. Is there anything else which needs to be configured, I had followed these URLs to setup the things-
https://technet.microsoft.com/en-gb/library/dn771551%28v=vs.120%29.aspx http://taco.visualstudio.com/en-us/docs/install-vs-tools-apache-cordova/
I have rechecked and confirmed that everything have been correctly installed and configured. Kindly help if someone has faced this same issue.
Upvotes: 0
Views: 171
Reputation: 4792
Luckily I found the answer myself, I had to clear the cache of the cordova tools for visual studio from the cordova options-
Tools > Options > Tools for Apache Cordova > Cordova Tools > Clear Cordova Cache
After clearing cache and on next first build everything was properly configured again by Visual Studio and here is the build output-
1>------ Build started: Project: BlankCordovaApp1, Configuration: Debug Android ------
1> GeneratedJavascript=file.js;file.js.map
1> C:\Users\Hardwell\documents\visual studio 2013\Projects\BlankCordovaApp1\BlankCordovaApp1>call "C:\Program Files (x86)\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.33 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\FQVYKMBU.EB0\packages\vs-mda
1> ------ Name from source package.json: vs-mda
1> ------ Version from source package.json: 0.1.76
1> ------ Package not currently installed globally.
1> ------ Installing globally from source package. This could take a few minutes...
1> npm WARN deprecated [email protected]: This package is no longer maintained. See its readme for upgrade details.
1> C:\Users\Hardwell\AppData\Roaming\npm\vs-cli -> C:\Users\Hardwell\AppData\Roaming\npm\node_modules\vs-mda\vs-cli.cmd
1> [email protected] C:\Users\Hardwell\AppData\Roaming\npm\node_modules\vs-mda
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected]
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected])
1> ├── [email protected] ([email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
1> └── [email protected] ([email protected], [email protected], [email protected])
1> ------ npm install of [email protected] from C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\FQVYKMBU.EB0\packages\vs-mda completed.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Hope it helps someone like me :)
Upvotes: 2