How to create ionic 2 native cordova plugin for android?


I am try to create ionic 2 cordova plugin for android but getting errors. have google but not found proper article.
can any one help me how can i achieve this task or can any one share me video and audio call plugin.

basically i am creating a plugin to access the video stream and send realtime stream to third party method. to make a video call.