mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
1.1 KiB
1.1 KiB
Cordova Upgrade Guide
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 from 1.7.0, please go from 1.6.0
Upgrade to 1.8.0 from 1.7.0
- Remove cordova-1.7.0.jar from the libs directory in your project
- Add cordova-1.8.0.jar to the libs directory in your project
- If you are using Eclipse, please refresh your eclipse project and do a clean
- Copy the new cordova-1.7.0.js into your project
- Update your HTML to sue the new cordova-1.7.0.js file
- 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
- Remove cordova-1.6.0.jar from the libs directory in your project
- Add cordova-1.6.0.jar to the libs directory in your project
- If you are using Eclipse, please refresh your eclipse project and do a clean
- Copy the new cordova-1.6.0.js into your project
- Update your HTML to sue the new cordova-1.6.0.js file
- Update the res/xml/plugins.xml to be the same as the one found in framework/res/xml/plugins.xml