Hi Swati,
Thanks for helping me out. However it did'nt worked out. I included Intel App Security API plugin as per ypur suggestion from https://github.com/01org/AppSecurityApi (I added it as a custom plugin using git repo url) and tried building it again.
Please refer the relevant portion in the error log attached below.
Do I have to do anything else other than simply including this ?
Preparing windows project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-whitelist',
'cordova-plugin-splashscreen',
'cordova-plugin-device',
'cordova-plugin-file',
'cordova-plugin-file-transfer',
'cordova-plugin-statusbar',
'cordova-sqlite-legacy',
'com.intel.security' ]
-
-
-
************* Completed processing the main config.xml file (after_prepare) *****************
Running command: cmd "/s /c "...\LinStudio\platforms\windows\cordova\build.bat --release --verbose --phone""
MSBuildToolsPath: ...\MSBuild\14.0\bin\
Building project: ...\LinStudio\platforms\windows\CordovaApp.Phone.jsproj
Configuration : release
Platform : anycpu
pch.cpp
sqlite3.c
Constants.cpp
Database.cpp
Statement.cpp
...\LinStudio\plugins\cordova-sqlite-legacy\src\windows\SQLite3-Win-RT\SQLite3\Database.cpp(48): warning C4244: 'return' : conversion from 'sqlite3_int64' to 'int', possible loss of data [...\LinStudio\plugins\cordova-sqlite-legacy\src\windows\SQLite3-Win-RT\SQLite3\SQLite3.WindowsPhone\SQLite3.WindowsPhone.vcxproj]
Creating library ...\LinStudio\plugins\cordova-sqlite-legacy\src\windows\SQLite3-Win-RT\SQLite3\SQLite3.WindowsPhone\release\SQLite3.WindowsPhone\SQLite3.lib and object ...\LinStudio\plugins\cordova-sqlite-legacy\src\windows\SQLite3-Win-RT\SQLite3\SQLite3.WindowsPhone\release\SQLite3.WindowsPhone\SQLite3.exp
Generating code
Finished generating code
SQLite3.WindowsPhone.vcxproj -> ...\LinStudio\plugins\cordova-sqlite-legacy\src\windows\SQLite3-Win-RT\SQLite3\SQLite3.WindowsPhone\release\SQLite3.WindowsPhone\SQLite3.dll
...\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(4388,5): error APPX0505: The processor architecture of your project 'neutral' doesn't match the processor architecture 'x86' of the referenced project 'SQLite3'. Change the targeted processor architectures to align between your project and its references. [...\LinStudio\platforms\windows\CordovaApp.Phone.jsproj]
ERROR: Error code 1 for command: ...\MSBuild\14.0\bin\msbuild with args: ...\LinStudio\platforms\windows\CordovaApp.Phone.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:Platform=anycpu
Command finished with error code 2: cmd /s /c "...\LinStudio\platforms\windows\cordova\build.bat --release --verbose --phone"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 2
at ChildProcess.whenDone (D:\Developer\cordova\5.1.1\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)