Unable to add Android as a platform

I am facing a problem while adding android as a platform, I get the following error: http://pastebin.com/MZ837ajT

I’ve tried it 5 times and yes my network is working fine. I’ve tried it using my standalone sdk manager too. network is available

Please help me asap, this is kinda urgent !!

Nevermind, I had a proxy set on my npm from when I used it in college.
I wonder why I didn’t face this error while building for browser.