问题
I am working with Sencha Touch. I need the latest Cordova 3.4.js (That Javascript file only) to build my project. The only resource known for me is Phonegap thing. But the latest available Phonegap archive version is 2.9.1. But I need Ver 3.4.0 and Included Cordova 3.4.0.js for android & iOS. Can anyone help me on this ??
回答1:
You can get the .zip file here: https://github.com/apache/cordova-js/releases/tag/3.4.0 Just extract the JavaScript file.
回答2:
For cordova 3.4/Phonegap 3.4 you should be using the Command Line Interface to create/build your projects.
cordova.js is automatically added to the project when you run either cordova build ios
or cordova build android
.
The content of the cordova.js is dependant of the platform you build for and it loads other scripts files, like for example plugins. You can't just copy the cordova.js file like you used to with cordova <3.0. You could find the cordova.js in the zip as refered in previous answer (in platforms dependent subfolders), but again, you'd really better use the CLI.
回答3:
No worry about that. After you build your cordova project for iOS and android, already there.
iOS

Android

回答4:
hope so it helps.... (1 install ecipse or ADT
http://w3stream.blogspot.in/2014/02/phonegap-34-environment-setup-and.html?m=1
回答5:
Cordova.js Now uses requires.js. it will be hard to just find Cordova.js file and put it in your project and expect it to work.... You will find it after u use the build command(if u know what I mean)
来源:https://stackoverflow.com/questions/22689277/where-do-i-get-cordova-3-4-js