问题
What is the version of Phonegap
used by Dreamweaver CS5.5
? I've tried to replace the default phonegap.js
file with the latest version which gave error. Is it good idea to replace the existing phonegap.js
file with latest version?
回答1:
Upgrading the phonegap of adobe dreamweaver cs5.5
- Download latest phonegap version.
- Extract the downloaded zip file
- Open the “Android” folder in the extracted zip.
- Remove version from the filenames: Rename phonegap.1.3.0.jar to phonegap.jar and phonegap.1.3.0.js to phonegap.js
- Copy and overwrite phonegap.js to C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp\assets\www
- Copy and overwrite phonegap.jar to C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp\libs
- Copy the folder “xml”, with the plugins.xml file in it, to C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp\res
- In your existing mobile phonegap application, replace the old phonegap.js with the new one. And also delete previously builds binary folders like (“com.yourcompany.application_Android”)
http://www.eracer.de/dreamweaver-5-5-update-to-latest-phonegap-version-android/
来源:https://stackoverflow.com/questions/8643581/phonegap-in-dreamweaver-cs5-5