【问题标题】:Error Adding Plugin To Phonegap将插件添加到 Phonegap 时出错
【发布时间】:2013-10-07 03:45:03
【问题描述】:

问题是当我使用命令添加插件时,(

phonegap 本地插件添加https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
)我收到错误"project directory could not be found!"。我试图将插件安装到现有的 android 项目中。我正在使用 phone gap 3.0 ..请帮助。

【问题讨论】:

  • 我在项目的根目录中。
  • 你解决了吗?我也有同样的问题。
  • 用cordova试试,例如:cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git

标签: cordova phonegap-plugins


【解决方案1】:

我在命令中看到语法错误,应该是这样的:

phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git

【讨论】:

  • 对不起,原来的命令和你提到的一样,我怀疑是使用哪个目录???如果我们添加这个命令,插件会嵌入到原来的android项目中还是应该采用新的构建???
猜你喜欢
  • 2015-01-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-07-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-01-28
相关资源
最近更新 更多