Ionic buiild

Hey I am so new to ionic and to this forum too. I have been trying in vain to build the ionic project “Hello world”. The cmd seems to download some gradle file in vain and runs into some cordova error. I know this might not be very much associated with ionic itself, but I just can’t move on so any help will be very much appreciated!

Building for android requires android SDK as well as java sdk. I would first check if you have both installed. If so, I would try reinstalling.

I have installed java and the android sdk.
On cmd echo %JAVA_HOME% points to: C:\Program Files\Java\jdk1.8.0_91;
On cmd echo %ANDROID_HOME% points to: C:\Program Files (x86)\Android\android-sdk;
Their paths both point to their \bin directories.
I even installed Gradle locally and define its variable and added its path.

I have read similar problems from this forum and most people solved the problem by doing some updates for their android sdk, but I don’t know which files were downloaded/updated.

I have downloaded/updated some files on my Android sdk.

If only I can know which files to update on the ANDROID sdk (hoping that is the only problem). Or will I have to re-install all of them?