Could not resolve 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 ‘’.

Connect to [/] 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