I need to import cordova plugins in my app. I added code in  Extensibility configurations in the eSpace:

    "plugin" :{
        "url": "https://github.com/proximiio/proximiio-cordova.git"

 But, when I try to build a native Android app, I get the error: " An unexpected error has occurred while generating your application. Please try again. "

anyone can help check it.

Hello Khanh,

Have you checked out this documentation page?
Did you make sure to create a separate module just for this plugin?
After creating the plugin wrapper you have to reference it the application where you want to use the plugin. Check out the documentation on how to use the plugin you just wrapped (or imported) here.

Kind regards

Edit (2018-03-02): Updated links.