While building my PhoneGap app (with the Facebook SDK plugin installed), I encountered this error:
BUILD FAILED C:\\adt-bundle-windows-x86_64-201305
In order to determine if the problem comes from your development environment or from a mistake in the project i recommend everybody to try to create a new project from the cordova CLI.
cordova create foo; cd foo;
cordova platform add android
cordova build
Does it works? So the problem is on your project configuration. This was my mistake: In order to add icons to the application I've create a folder called android inside `foo/plataforms/android/res/{android/icon*.png}
The correct way to add icons is to create the folder res in root of the project foo/{res/android/icon*.png}
And then, add this files into the configuration file as follows:
<platform name="android">
<icon src="res/android/icon@ldpi.png" density="ldpi" />
<icon src="res/android/icon@mdpi.png" density="mdpi" />
<icon src="res/android/icon@hdpi.png" density="hdpi" />
<icon src="res/android/icon@xhdpi.png" density="xhdpi" />
</platform>