I don't think there is an issue. The blank template does not contain any plugins in config.xml, therefore when you build it does not generate a cordova_plugins.js file. I am seeing the same error myself. But if I switch to a project that has plugins it is generating the file correctly and runs fine on the device.
Well I've been trying to figure it out. I've indeed come to the conclusion that adding plugins to the blank template makes the project work properly when compiled. However, on my original project I had a fair few plugins but for some reason no cordova_plugins.js. Even though 'phonegap plugins list' showed all the plugins I had installed. Somehow that project got broken.
My solution was to literally start from scratch. I made a blank template, installed the plugins I wanted and moved my entire www directory over. Now it is working again and I'm happy, although slightly confused.
Weird! Couple follow up questions...
- Have you added the plugins you use to your config.xml file?
- In your project, does it work if you remove the platform, "phonegap platform rm android", and then re-add it, "phonegap platform add android"?
I've actually deleted the old project (shouldn't have done that) so I can't try out new things. But I have tried those options yes.
The config.xml had all the plugins listed I was using.
I tried removing and adding the android platform. That did not solve the problem.
Although worth noting with my 'blank' project, I added my plugins and then added the android platform, I noticed it was actually logging it was adding the plugins. In my broken project it did not do that.