本文介绍了如何从phonegap 2.9升级到phonegap 3.5(无法找到项目目录错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Android应用程序,我建立在PhoneGap 2.7.I安装phonegap 3.5使用cmd,并尝试升级一个应用程序如此处所示





但它不显示如何从2.7直接升级到3.5

解决方案

我不认为phonegap平台更新适用于从3.x以前的版本升级。



/ cordova cli工作时必须检测具有3.x项目结构的项目。



要在2.x中升级项目,必须

现在您可以使用CLI来处理您的项目。


I have an android application that i built on PhoneGap 2.7.I installed phonegap 3.5 using cmd and tried to upgrade an app as shown here

How do I upgrade Phonegap in my Phonegap app?

But when i do it using cmd it gives me the following error:

Unlike phonegap 3.5 the android application that I built in PhoneGap 2.7 does not have a platform folder.So what am I supposed to?and how can I verify if it is upgraded or not?

I had also seen these phonegap documentation

http://docs.phonegap.com/en/3.5.0/guide_platforms_android_upgrade.md.html#Upgrading%20Android

But It does not show how to directly upgrade from 2.7 to 3.5

解决方案

I don't think phonegap platform update works for upgrading from something older than 3.x.

For phonegap/cordova cli to work it has to detect a project with the structure of 3.x projects.

To upgrade your project in 2.x you have to

Now you can use the CLI to work with your project.

这篇关于如何从phonegap 2.9升级到phonegap 3.5(无法找到项目目录错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 02:28