1, installation tool into Nodejs, installation tool Plugman, management plug-in, input command NPM install-g plugman wait for download installation 2, use the Plugman command to generate the plugin framework cmd into the empty directory used to generate the plug-in framework, Enter Plugman Create--name <pluginName>--plugin_id <pluginID>--plugin_version 0.0.13, add Android station for the generated plug-in Plugman Platform Add-platform_name Android4, modify the build plugin Android platform package name information, suitable for Android format, For example, change the Cordova-plugin-hsutil to Com.compony.projectname.plugin to include Java files and PLUGIN.XML5 in the Android platform, Java files in the edit plugin 6, Import the plugin into Cordova Cordova plugin add path-to add for example Cordova plugin add: /.. /PLUGMANDIR/PLUGDIR7, use Plugin8, edit plugin after you need to reload, you can remove plugin and add, delete command Cordova plugin RM Plugin-id
How to edit and add Cordova plugins with Plugman