I created a new app with sencha generate app command using sencha cmd 5.1.2.52, then ran 'sencha cordova init' (with and without a name), then added a plugin, it was successfully added. Now while building the app with 'sencha app build native' it gives the following error.
[ERR] The following error occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\build-impl.xml:435: The following e rror occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\packager-impl.xml:17: The following error occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\cordova-impl.xml:144: The following error occurred while executing this line: jar:file:/C:/Users/Lenovo/bin/Sencha/Cmd/5.1.2.52/sencha.jar!/com/sencha/ant/ant lib.xml:644: shellscript returned: 1