Looking at our code, that error can be shown if an initialization error occurs when the phonegap app is loaded. The only way to determine what it is would be to build a phonegap android app in debug mode and using the remote debugger connect to it and inspect the javascript console.
Have you tried running this in "Preview live in browser" first to verify that it works?
Bookmarks