Hello,
I'm receiving the following error message when doing an Android App Package build (in release mode).
Server exception
Project "TaskApplication.tmp.proj" (default targets):
android Build Tooling revision 2016.05.03.3r
Warning: Failed to install 'com.phonegap.plugins.barcodescanner':Error: Malformed comment Line: 31 Column: 6 Char: at error (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/node_modules/sax/lib/sax.js:347:8) at strictFail (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/node_modules/sax/lib/sax.js:364:22) at Object.write (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/node_modules/sax/lib/sax.js:770:11) at XMLParser.feed (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/lib/parsers/sax.js:48:15) at ElementTree.parse (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/lib/elementtree.js:271:10) at Object.exports.XML (/home/builder/BpcTooling/Cordova3/node_modules/elementtree/lib/elementtree.js:606:13) at Object.module.exports.parseElementtreeSync (/home/builder/BpcTooling/Cordova3/node_modules/cordova-lib/cordova-lib/src/util/xml-helpers.js:123:38) at ConfigFile_load [as load] (/home/builder/BpcTooling/Cordova3/node_modules/cordova-lib/cordova-lib/src/plugman/util/ConfigFile.js:69:33) at new ConfigFile (/home/builder/BpcTooling/Cordova3/node_modules/cordova-lib/cordova-lib/src/plugman/util/ConfigFile.js:48:10) at ConfigKeeper_get [as get] (/home/builder/BpcTooling/Cordova3/node_modules/cordova-lib/cordova-lib/src/plugman/util/ConfigKeeper.js:51:23)
Warning: Malformed comment Line: 31 Column: 6 Char:
Warning: /home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189 throw Error("exit code: " + code); ^ Error: exit code: 1 at Error (native) at ChildProcess.<anonymous> (/home/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:189:14) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
Error: Build failed during execution
Error: 'Build failed with error code 1'
Done building project "TaskApplication.tmp.proj" -- FAILED.
The project is builds fine for IOS and also works fine in the AppBuilder companion application on both IOS and Android.
I'm using the latest version of the barcodescanner plugin from the Telerik Verified Marketplace (version 5.0.0) with Cordova Version: 4.0.0 (Android 4.1.1, IOS 3.8.0, WP 3.8.0-2).
I've tried going back to an older version of Cordova, the barcodescanner plugin and have tried building for Android in both Debug and Release modes and am receiving the same error.
I've searched the knowledge base and can see references to similar issues with the advice to update the plugin to the latest version (see http://www.telerik.com/forums/breaking-change-introduces-build-failure-for-android) and have followed the link in there and followed those instructions. Since I was already on the latest version of the plugin however that had no effect. I've uninstalled the plugin and then re-installed it and get the same result.
So basically I'm now stuck and wondering if there was a known solution to this?
Regards,