且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[错误:当前工作目录不是基于 Cordova 的项目.]

更新时间:2022-01-19 22:25:21

是的,正如其他人已经说过的,您需要在您的 SVN 中签入一些配置文件和文件夹,以便在签出时使 PhoneGap 正常工作.这是定义 PhoneGap 项目的内容:

Yes as others have stated already you need to check into your SVN a few config files and folders in order to make PhoneGap work when you check it out. This is what defines a PhoneGap project:

  • 有一个 .cordova 目录,里面有一个 config.json.
  • 有一个 www 目录,里面有一个 config.xml.
  • 有一个平台目录.

我发现有了它,您可以毫无问题地使用 PhoneGap 命令.如果您需要查看这些配置文件的示例,只需运行 phonegap create myapp.

I found that with that in place you can use PhoneGap commands without problems. If you need to see an example of those config files, just run phonegap create myapp.