Running android build with cordova cli

Trying to run a android build from Cordova cli requires that all the environment variables are properly set, otherwise it would exit with error. See this page for all the variables that need to be set: http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-environment-variables .