Reputation: 4975
In the past, upgrading phonegap consisted of creating a new project and copying various files. Now the instructions just say "Run bin/update with the project path listed in the Cordova Source directory." OK, how do I do this?
I've tried this:
cd /path/to/phonegap-2.8.1/lib/android/bin
./update /path/to/MyProject
It gets this error
mkdir: /path/to/MyProject/cordova: File exists
An unexpected error occurred: mkdir "$PROJECT_PATH"/cordova exited with 1
Upvotes: 3
Views: 1284
Reputation: 2292
I am on Windows 7 and the update script did not work for me - so I did it manually the same way as it is recommended for 2.4.0 > 2.5.0 (which is the last known manual update description). It works.
Hope this helps. Link to update guide is here.
PS. I was updating from 2.5.0 to 2.8.1.
Upvotes: 1