...
Note |
---|
You must have |
...
installed JDK before proceeding with this |
...
procedure. |
To install Apache Ant, perform the following steps: Note:
Info |
---|
The instructions here have been provided for Ant 1.9.6. |
- Download latest Ant version from the http://ant.apache.org/bindownload.cgi link and unzip it. For example, let us unzip it to this folder – D:\apache-ant-1.9.6.
- To configure ANT_HOME Windows environment variable, perform the following steps:
- Right-click My Computer and select Properties.
- On the left-side of properties window, click Advanced System Settings.
- In the System Properties window, click Advanced > Environment Variables.
...
- In the Environment Variables window, add ANT_HOME as the Windows environment and point it to your Ant folder.
- In the Environment Variables window, update PATH variable, append %ANT_HOME%\bin; at the end so that you can run the Ant's command everywhere.
To check the Ant version, enter the following command in the command prompt.
Code Block language bash ant –version
The installed version of Ant displays.
If you see a similar message above, it means the Apache Ant is installed successfully on Windows.- To install software for creating hybrid Android apps, continue with the with Additional Installation for Android Packaging on Windows section.