在cordova中运行插件后构建失败

时间:2014-12-31 16:18:07

标签: cordova plugins hockeyapp

我正在使用ionic + cordova进行混合移动应用。 我添加了这个插件 https://github.com/instantiator/hockeyapp-phonegap

但之后我得到了这个问题,如果我删除它然后它将工作

BUILD FAILED
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:892: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:894: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:906: The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-studio\sdk\tools\ant\build.xml:283: null returned: 2

Total time: 1 minute 51 seconds

F:\Repo\rtaProject\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,F:\Repo\rtaProject\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen

记住githhub页面中给出的命令是

phonegap plugin add https://github.com/instantiator/hockeyapp-phonegap.git

我跑了这个

cordova plugin add https://github.com/instantiator/hockeyapp-phonegap.git

0 个答案:

没有答案