title: Visual studio team services Cordova build error
body: <p>I am trying to use the Cordova Build task in order to build an Ionic 2 app for android however i am receiving the following error.</p>
  
  <p><code>TypeError: cordovaProject.projectConfig.getFileResources is not a function</code></p>
  
  <p>The configuration i am using is as follows:</p>
  
  <p>Platform: android
  Configuration: Release
  Target Archives:
  Cordova Version: 6.3.1</p>
  
  <p>I have found this error mentioned on here before: <a href="https://stackoverflow.com/questions/43195668/cordova-error-using-cordova-android-6-2-0-getfileresources-is-not-a-function">Cordova Error using Cordova-Android 6.2.0 - getFileResources is not a function</a> </p>
  
  <p>However the accepted answer is not implementable within visual studio team services as far as i am concerned. </p>
  
  <p>The application is known to build successfully with the following configuration:
  Cordova CLI: 6.3.1</p>
  
  <p>Gulp version: CLI version 1.2.2</p>
  
  <p>Gulp local:</p>
  
  <p>Ionic Framework Version: 3.3.0</p>
  
  <p>Ionic CLI Version: 2.1.1</p>
  
  <p>Ionic App Lib Version: 2.1.1</p>
  
  <p>Ionic App Scripts Version: 1.3.7</p>
  
  <p>OS:</p>
  
  <p>Node Version: v7.8.0</p>
  
  <p>NPM: 4.2.0</p>
  
  <p>Any help would be GREATLY appreciated.</p>