Well to build android files please make sure that you have installed java on your system and set the environment variables in java .
refer : https://wplms.io/unit/installing-java/?id=662
make sure that javac command runs properly in your command prompt .
Second thing you need is android studio .Install full setup of it .
then try running these commands one by one in your project folders :