如何在我的Phonegap应用程序中升级Phonegap? [英] How do I upgrade Phonegap in my Phonegap app?

查看:184
本文介绍了如何在我的Phonegap应用程序中升级Phonegap?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Phonegap应用程序,我开始与早期版本的Phonegap,我想升级到最新版本。

I have a Phonegap app that I started with an earlier version of Phonegap, that I want to upgrade to the latest version. What steps do I take to upgrade it?

我正在拍摄一般的答案,但我的具体情况是Phonegap 1.1.0 - > 1.2.0

I'm shooting for a general answer, but my specific case is Phonegap 1.1.0 -> 1.2.0

推荐答案

我发现这个今晚,看起来更直接。请参见 http://phonegap.com/blog/2013/11/28/phonegap-320-发布/

I found this tonight and it seems more straightforward. See http://phonegap.com/blog/2013/11/28/phonegap-320-released/

Mac和Linux:

Mac and Linux:

$ sudo npm install -g phonegap


$ b b

Windows:

Windows:

C:\> npm install -g phonegap



如何升级应用程式



How to Upgrade an App

$ cd path/to/my-app
$ phonegap platform update android

您可以用 android 替换任何平台名称。

You can substitute android for any platform name.

这篇关于如何在我的Phonegap应用程序中升级Phonegap?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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