fixed. I needed to set up the environment variables. such as Android sdk home, ant home etc from the tutorial