For some reason, after going through Phonegap\'s non-inclusive instructions (it doesn\'t even mention setting up ANT, or the headaches with Ant and JDK), this doesn\'t work
Run cordova -d build
. If it says anything about "Unable to locate tools.jar", fix that. Then completely rebuild the application by running cordova platform rm android
. Also remove the project from eclispe. Then recreate the app by running cordova platform add android
+ cordova build
. Finally add the project in eclipse again.
org.apache.cordova
should now be included and everything should be working.