svkirans. I posted regarding command line problems but I'll reiterate here.
As I think you know, I've had a persistent problem with the error "....android pre-compiler..." in Eclipse with my sample project and sample plugin barcode scanner as described in the tutorial links you sent me.
But the latest thing is command line errors.
After I create a project from the command line and follow it with "cordova -d platform add android", I get the error "no platforms added. Please use cordova platform add android", which doesn't work. Sometime before this , the above command worked but the following one; "cordova build" yielded the same error. So I've taken a giant step backwards.