I am using Mac Yosemite. Getting the following failure on running a build for android platform :
FAILURE: Build failed with an exception.
* What went wrong:
To get more info to debug this go in to the ./platforms/android/
folder and run:
Mac users:
gradlew --info build clean
Linux users (thanks Pierre):
./gradlew --info build clean
Windows users:
gradlew.bat --info build clean
This gives you a lot more detail.
My issue was solved this way, found some files that where incorrectly dropped into the project folder with spaces in the file names.