Upgrading Apache Cordova to latest version

Updating Apache Cordova to the latest version only takes a few minutes. Below are the steps (taken from Cordova) needed to update your > 3.0 projects to the latest version (3.5 as of this post).

In a command / terminal run:

  1. npm install -g cordova
  2. Now go to into your project (ie: c:\projects\test)  and run:
  3. cordova platform update android (or ios)

 

You can update your plugins by removing / adding them again like:

cordova plugin rm org.apache.cordova.file
cordova plugin add org.apache.cordova.file

That’s it. Now you should have an up to date environment.

Upgrading Apache Cordova to latest version

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s