Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

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.


  1. 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.

    Image Modified

  2. To configure ANT_HOME Windows environment variable, perform the following steps:
    1. Right-click My Computer and select Properties.
    2. On the left-side of properties window, click Advanced System Settings.
    3. In the System Properties window, click Advanced > Environment Variables.

...


    1. Image Added

  1. In the Environment Variables window, add ANT_HOME as the Windows environment and point it to your Ant folder.

    Image Modified

  2. 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.

    Image Modified

  3. To check the Ant version, enter the following command in the command prompt.

    Code Block
    languagebash
    ant –version


    The installed version of Ant displays.

    Image Modified
    If you see a similar message above, it means the Apache Ant is installed successfully on Windows.

  4. To install software for creating hybrid Android apps, continue with the with Additional Installation for Android Packaging on Windows section.