且构网

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

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

更新时间:2022-02-11 21:20:31

是的,其他人已经说你需要检查您的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.