When I Run: cordova build, I got this:
Running command:/Users/tyrant/workspace/ideaProject/hello/platforms/android/cordova/build ANDROID_HOME=/Users/tyrant/s
For anyone facing this problem when first building a react-native Android app, it's likely to be the gradle-2.4 file, which is generally found in:
/var/root/.gradle/wrapper/dists/gradle-2.4-all//gradle-2.4
Just manually delete the zip file, download a new copy and replace.