I'm using Phonegap3 http://phonegap.com/install/ but I'm facing an issue with plugins:

After creating project using

phonegap create my-app
phonegap local build android

then I added a camera plugin using

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

http://docs.phonegap.com/en/edge/cordova_camera_camera.md.html#Camera

then build project using

phonegap local build android

it was working fine but suddenly it stopped working, after investgating the issue I found that plugins are not copied to the android project although I can list all plugins using

phonegap local plugin list

After searching and testing the issue was that add plugin command adds to plugin files to platforms project too, so the build command not copying these files during the build phase, so all I had to do is to removeplugins/ folder content and platforms/ content then I did those steps:

phonegap local build android
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git

After all the add plugins commands should run only after all your platforms are added

BadrIT continues its contribution to the open source community with the publish of Base64, FileOperations and BackgroundJS plugins on the official PhoneGap Build plugins repository.

BadrIT continues its contribution to the open source community with the publish of MacAddress plugin on the official PhoneGap Build plugins repository.

MacAddress is a plugin used to retrieve native MacAddress for Android/iOS devices.

 

Printing to network printer, using Google Cloud Printing or Apple AirPrint, is now made easy using PrintPlugin that was developed by BadrIT published on the official PhoneGap Build plugins repository.

BadrIT continues its contribution to the open source community with the publish of EmailComposer plugin on the official PhoneGap Build plugins repository.