Upgrading Cordova Android

This document is for people who need to upgrade their Cordova versions from an older version to a current version of Cordova.

  • To upgrade to 1.8.0, please go from 1.7.0
  • To upgrade to 1.7.0, please go from 1.6.0
  • To upgrade to 1.0.0, please go from 0.9.6

Upgrade to 1.8.0 from 1.7.0

  1. Remove cordova-1.7.0.jar from the libs directory in your project
  2. Add cordova-1.8.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new cordova-1.8.0.js into your project
  5. Update your HTML to use the new cordova-1.8.0.js file
  6. Update the res/xml/plugins.xml to be the same as the one found in framework/res/xml/plugins.xml

Upgrade to 1.7.0 from 1.6.0

  1. Remove cordova-1.6.0.jar from the libs directory in your project
  2. Add cordova-1.7.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new cordova-1.7.0.js into your project
  5. Update the res/xml/plugins.xml to be the same as the one found in framework/res/xml/plugins.xml

Upgrade to 1.6.0 from 1.5.0

  1. Remove cordova-1.5.0.jar from the libs directory in your project
  2. Add cordova-1.6.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new cordova-1.6.0.js into your project
  5. Update your HTML to use the new cordova-1.6.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
  7. Replace the res/xml/phonegap.xml with res/xml/cordova.xml so that it is the same as the one found in framework/res/xml/cordova.xml

Upgrade to 1.5.0 from 1.4.0

  1. Remove phonegap-1.4.0.jar from the libs directory in your project
  2. Add cordova-1.5.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new cordova-1.5.0.js into your project
  5. Update your HTML to use the new cordova-1.5.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
  7. Replace the res/xml/phonegap.xml with res/xml/cordova.xml so that it is the same as the one found in framework/res/xml/cordova.xml

Upgrade to 1.4.0 from 1.3.0

  1. Remove phonegap-1.3.0.jar from the libs directory in your project
  2. Add phonegap-1.4.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new phonegap-1.4.0.js into your project
  5. Update your HTML to use the new phonegap-1.4.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
  7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml

Upgrade to 1.3.0 from 1.2.0

  1. Remove phonegap-1.2.0.jar from the libs directory in your project
  2. Add phonegap-1.3.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new phonegap-1.3.0.js into your project
  5. Update your HTML to use the new phonegap-1.2.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
  7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml

Upgrade to 1.2.0 from 1.1.0

  1. Remove phonegap-1.1.0.jar from the libs directory in your project
  2. Add phonegap-1.2.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new phonegap-1.2.0.js into your project
  5. Update your HTML to use the new phonegap-1.2.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml
  7. Update the res/xml/phonegap.xml so that it is the same as the one found in framework/res/xml/phonegap.xml

Upgrade to 1.1.0 from 1.0.0

  1. Remove phonegap-1.0.0.jar from the libs directory in your project
  2. Add phonegap-1.1.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new phonegap-1.1.0.js into your project
  5. Update your HTML to use the new phonegap-1.1.0.js file
  6. Update the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml

Upgrade to 1.0.0 from 0.9.6

  1. Remove phonegap-0.9.6.jar from the libs directory in your project
  2. Add phonegap-1.0.0.jar to the libs directory in your project
  3. If you are using Eclipse, please refresh your eclipse project and do a clean
  4. Copy the new phonegap-1.0.0.js into your project
  5. Update your HTML to use the new phonegap-1.0.0.js file
  6. Add the res/xml/plugins.xml so that it is the same as the one found in framework/res/xml/plugins.xml