I cloned the PhoneGap build of 3.6.1 and was able to compile it successfully until I change the name of the app in the config.xml, suddenly the android version is refusing to compile. It throws this error:
Error: Unable to graft xml at selector "/manifest/application/activity[@android:name='Moodle']" from "/var/gimlet/tmp/47164946656600/3527725/app/src/main/AndroidManifest.xml" during config install