Phonegap add plugin fails (errno 34) */plugin.xml
addition, cordova, plugins
Solution
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
Problem
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' ] ```