I'm also facing the same problem. Following is the git project where I got the code from for Moodle Mobile 3.4.2
https://github.com/moodlehq/moodlemobile-phonegapbuild/
I'm trying to develop an app using PhoneGap build https://build.phonegap.com
any help would be appreciated.
Gopal