title: Google App Store Warning - You should upgrade to Apache Cordova 3.5.1 or higher as soon as possible
body: <p>I have received an Email from Google Play Store for my Android App:</p>
  
  <blockquote>
    <p>This is a notification that your com.mydomain.myapp, is built on a
    version of Apache Cordova that contains security vulnerabilities. This
    includes a high severity cross-application scripting (XAS)
    vulnerability. Under certain circumstances, vulnerable apps could be
    remotely exploited to steal sensitive information, such as user login
    credentials. <strong>You should upgrade to Apache Cordova 3.5.1 or higher as
    soon as possible.</strong> For more information about the vulnerabilities, and
    for guidance on upgrading Apache Cordova, please see
    <a href="http://cordova.apache.org/announcements/2014/08/04/android-351.html" rel="nofollow noreferrer">http://cordova.apache.org/announcements/2014/08/04/android-351.html</a>.
    Please note, applications with vulnerabilities that expose users to
    risk of compromise may be considered “dangerous products” and subject
    to removal from Google Play. Regards, Google Play Team ©2014 Google
    Inc. 1600 Amphitheatre Parkway Mountain View, CA 94043</p>
  </blockquote>
  
  <p>If I try the command mentioned on the given link/page, i.e.:</p>
  
  <pre><code>cordova platform add android@3.5.1 --usenpm
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>Platform android already added
  </code></pre>
  
  <p>How can I upgrade Cordova from 3.1 to 3.5.1? I have tried all sort of things like:</p>
  
  <pre><code>npm update -g cordova
  </code></pre>
  
  <p>But I do not appear to be getting successful. The version file in MyApp\platforms\android\cordova folder still shows following entry and no file in this folder changes:</p>
  
  <pre><code>// Coho updates this line:
  var VERSION = "3.1.0";
  
  console.log(VERSION);
  </code></pre>