I\'m new to cordova mobile app development. I have install Node and then install cordova. i have done those steps to create a cordova android app.
There's also another potential cause for this error: an errant file in your project/www directory. I had inadvertently included a blank file called project/www/:q ("colon q") in www/ (note I use Vim)! Anyway, doing this yields the exact error as noted by JeyTheva. So, delete that file and do the following:
Now rebuild and run on your device. This should work if you did something similar to what I did.