Phonegap添加插件失败(errno 34)* / plugin.xml [英] Phonegap add plugin fails (errno 34) */plugin.xml
本文介绍了Phonegap添加插件失败(errno 34)* / plugin.xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我添加一个插件到一个3.0.0 phonegap项目与Android平台,我有一个错误,尽管添加了一堆文件的插件。除了这个错误,当我添加它,Android清单不会更新正确的授权。
When I add a plugin to a 3.0.0 phonegap project with an android platform, I have an error eventhough a bunch of files for the plugin are added. In addition to that error when I add it, the Android manifest never gets updated with the right authorizations.
$ cordova plugin ls
No plugins added. 'Use cordova plugin add <plugin>'.
$ sudo cordova plugin add "http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git"
{ [Error: ENOENT, no such file or directory '/tmp/plugman-tmp1375200648427/*/plugin.xml']
errno: 34,
code: 'ENOENT',
path: '/tmp/plugman-tmp1375200648427/*/plugin.xml',
syscall: 'open' }
$ cordova plugin ls
[ 'org.apache.cordova.core.media-capture' ]
推荐答案
我有同样的问题与Connection插件。一旦我从cordova插件添加更改为phonegap本地插件添加,它工作正常。
I was having the same problem with the Connection plugin. Once I changed from "cordova plugin add" to "phonegap local plugin add", it worked fine.
$ phonegap local plugin add http://git-wip-us.apache.org/repos/asf/cordova-plugin-media-capture.git
这篇关于Phonegap添加插件失败(errno 34)* / plugin.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文