Could not resolve com.android.tools.build:gradle:2.2.1 ionic 2 application

Hi I am trying to build an application handed over to me by another developer.
When I do ionic build android I get an error:
Could not GET ‘https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.1/gradle-2.2.1.pom’.

Connect to 192.168.1.1:808 [/192.168.1.1] failed: Connection timed out: connect

I have also run npm install and ionic run. Ionic run works for still not able to deploy to actual device.

Seems you local Android setup is broken. Did you follow the steps in documentation to install everything?

I have followed the steps but I will reinstall android and check