在 Windows 上安装 PhoneGap 3.3 for Android (Eclipse)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20741445/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Install PhoneGap 3.3 on Windows for Android (Eclipse)
提问by Maddy
I've installed PhoneGap 2.9.1 on Windows and followed this tutorial for Eclipse: http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
我已经在 Windows 上安装了 PhoneGap 2.9.1 并按照本教程进行了 Eclipse:http: //www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-eclipse-for-android.html
Now I want to update PhoneGap and my project to PhoneGap 3.3, but I don't know, how to do that.
现在我想将 PhoneGap 和我的项目更新到 PhoneGap 3.3,但我不知道该怎么做。
Can somebody help me with this?
有人可以帮我解决这个问题吗?
回答by kiran
You need to install Nodejs, then install cordova using nodejs. Then you need to create Phonegap project, add required plugins to the project. These steps are described in the below link.
您需要安装 Nodejs,然后使用 nodejs 安装cordova。然后你需要创建Phonegap项目,将需要的插件添加到项目中。这些步骤在以下链接中进行了描述。
http://codingsquare.blogspot.in/2013/08/creating-cordova-3-android-project.html
http://codingsquare.blogspot.in/2013/08/creating-cordova-3-android-project.html
Then you need to copy the app from www folder of your PhoneGap 2.9.1 app into the www folder in the root of the latest cordova project.
然后,您需要将应用程序从 PhoneGap 2.9.1 应用程序的 www 文件夹复制到最新cordova 项目根目录中的 www 文件夹中。
Then add the platform and you can import the project into eclipse.
然后添加平台,就可以将项目导入到eclipse中了。