“It is currently in use by another Gradle instance” and becomes BUILD FAILED。
http://stackoverflow.com/questions/21523508/it-is-currently-in-use-by-another-gradle-instance
Remove the lock files in the gradle cache by executing something like this:
find ~/.gradle -type f -name "*.lock" | while read f; do rm $f; done