3

我已经安装了 phonegap 版本 3 npm install -g phonegap,现在我想为安卓应用程序安装插件

我安装了 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'
4

1 回答 1

8

尝试这个:

phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git
于 2013-08-25T12:48:50.767 回答