我在哪里可以获得Cordova 3.4.js? [英] Where do i get Cordova 3.4.js?

查看:163
本文介绍了我在哪里可以获得Cordova 3.4.js?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Sencha Touch。我需要最新的 Cordova 3.4.js (仅 Javascript文件)才能构建我的项目。我唯一知道的资源是Phonegap的东西。但是最新的Phonegap存档版本是2.9.1。但我需要版本3.4.0和包括Cordova 3.4.0.js为Android& iOS。任何人都可以帮助我这个?

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 ??

推荐答案

对于cordova 3.4 / Phonegap 3.4你应该使用命令行界面创建/构建您的项目。

For cordova 3.4/Phonegap 3.4 you should be using the Command Line Interface to create/build your projects.

cordova.js会自动添加到项目中,当您运行 cordova build ios code> cordova build android 。

cordova.js is automatically added to the project when you run either cordova build ios or cordova build android.

cordova.js的内容取决于您构建的平台,并加载其他脚本文件,例如插件。你不能只是复制cordova.js文件像你曾经用cordova< 3.0。
你可以在zip文件中找到cordova.js(在平台相关的子文件夹中),但是同样,你最好使用CLI。

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.

这篇关于我在哪里可以获得Cordova 3.4.js?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆