title: Cannot build signed android package through visual studio cordova
body: <p>I am trying to build a signed release package for my Android application using Visual Studio 2015 Cordova Tools.
  I am using Cordova 5.1.1, which requires that I supply the build process with a build.json file, telling the application where the keystore are and what password is using.
  However when I add the build.json file, I am not able to make a successful build to release.</p>
  
  <p>I followed this guide: <a href="https://github.com/Microsoft/cordova-docs/tree/master/tutorial-package-publish#android">https://github.com/Microsoft/cordova-docs/tree/master/tutorial-package-publish#android</a></p>
  
  <p>And got this error (with path edited out):</p>
  
  <pre><code>1&gt;  ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk (TaskId:11)
  1&gt;  JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55 (TaskId:11)
  1&gt;  \build.json (TaskId:11)
  1&gt;  Reading build config file: \build.json (TaskId:11)
  1&gt;  \platforms\android\cordova\node_modules\q\q.js:126 (TaskId:11)
  1&gt;                      throw e; (TaskId:11)
  1&gt;                            ^ (TaskId:11)
  1&gt;  SyntaxError: Unexpected token ﻿ (TaskId:11)
  1&gt;      at Object.parse (native) (TaskId:11)
  1&gt;      at parseOpts (\platforms\android\cordova\lib\build.js:475:27) (TaskId:11)
  1&gt;      at Object.module.exports.run (\platforms\android\cordova\lib\build.js:529:16) (TaskId:11)
  1&gt;      at \platforms\android\cordova\build:36:22 (TaskId:11)
  1&gt;      at _fulfilled (\platforms\android\cordova\node_modules\q\q.js:798:54) (TaskId:11)
  1&gt;      at self.promiseDispatch.done (\platforms\android\cordova\node_modules\q\q.js:827:30) (TaskId:11)
  1&gt;      at Promise.promise.promiseDispatch (\platforms\android\cordova\node_modules\q\q.js:760:13) (TaskId:11)
  1&gt;      at \platforms\android\cordova\node_modules\q\q.js:574:44 (TaskId:11)
  1&gt;      at flush (\platforms\android\cordova\node_modules\q\q.js:108:17) (TaskId:11)
  1&gt;      at process._tickCallback (node.js:355:11) (TaskId:11)
  1&gt;  Command finished with error code 1: cmd /s /c ""\platforms\android\cordova\build.bat" --release "--buildConfig=\build.json"" (TaskId:11)
  1&gt;ERROR building one of the platforms : error : cmd: Command failed with exit code 1
  1&gt;  You may not have the required environment or OS to build this project (TaskId:11)
  1&gt;MDAVSCLI : error : cmd: Command failed with exit code 1
  1&gt;Done executing task "MdaVsCli" -- FAILED. (TaskId:11)
  </code></pre>
  
  <p>What am I doing wrong? It seems like it cant parse the JSON?</p>