I get this Error when i run
ionic build android
Error screenshot
C:\Users\Ahmed\IonicProjects\first\firstIonicApp>ionic build android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Ahmed\IonicProjects
\first\firstIonicApp\hooks\after_prepare\010_add_platform_class.js C:\Users\Ahme
d\IonicProjects\first\firstIonicApp
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Ahmed\IonicProjects
\first\firstIonicApp\hooks\after_prepare\020_remove_sass_from_platforms.js C:\Us
ers\Ahmed\IonicProjects\first\firstIonicApp
Running command: C:\Users\Ahmed\IonicProjects\first\firstIonicApp\platforms\andr
oid\cordova\build.bat
ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
Built the following apk(s):
Also i want to know is it better to bootstrap ionic projects with yeoman? i already saw couple of tutorials doing that.
based on this link, you need to the perform the following:
It looks like you dont have apache ant installed.go to: http://ant.apache.org/ and installed apache ant then create a ANT_HOME varriable in your system varriables and add your ant location to your PATH varriable