android– 无法使用`phonegap plugin add XXX`添加插件

android– 无法使用`phonegap plugin add XXX`添加插件,第1张

概述我已经使用npminstall-gphonegap安装了phonegap版本3,现在我想为andriodapp安装插件我安装了node.jsC:\var\www\sexdiaries.co.uk\app>node-vv0.10.17然后Phonegapyphonegappluginaddhttps://git-wip-us.apache.orgepos/asf/cordova-plugin-splashscreen.git

我已经使用npm install -g phonegap安装了phonegap版本3,现在我想为andriod app安装插件

我安装了node.Js

C:\var\www\sexdiarIEs.co.uk\app>node -v v0.10.17

然后Phonegapy

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

但这会给出这个错误:

   [error] 'plugin' is not a node C:\Users\Hutber\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.Js command.    See 'node C:\Users\Hutber\AppData\Roaming\npm\node_modules\phonegap\bin\phonegap.Js help'

解决方法:

试试这个:

phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
总结

以上是内存溢出为你收集整理的android – 无法使用`phonegap plugin add XXX`添加插件全部内容,希望文章能够帮你解决android – 无法使用`phonegap plugin add XXX`添加插件所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1114592.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存