Where do i get Cordova 3.4.js?

自作多情 提交于 2019-12-23 15:42:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!