When I Run: cordova build, I got this:
Running command:/Users/tyrant/workspace/ideaProject/hello/platforms/android/cordova/build ANDROID_HOME=/Users/tyrant/s
Check whether you are having download limit and, if so, download the gradle zip file manually, place it in folder such as /Users/tyrant/.gradle/wrapper/dists/gradle-2.2.1-all/2m8005s69iu8v0oiejfej094b/ and run the command.