Android Tutorials - Herong's Tutorial Examples - Version 3.01, by Dr. Herong Yang
Downloading and Installing Apache Ant 1.9
This section describes how to download and install Apache Ant 1.9.5 on a Windows system. Apache Ant is a popular Java application build tool that allows you to automate the Java application build process.
To develop Android applications in Java language, you also need to install Apache Ant, which is a popular Java application build tool that allows you to automate the Java application build process.
Here is what I did to download and install Apache Ant 1.9.5 on my Windows system.
1. Go to Apache Ant home page: http://ant.apache.org/ and click "Download / Binary Distributions" in the menu.
2. Click the link "apache-ant-1.9.5-bin.zip" next to ".zip archive:" in the "Current Release of Ant" section to start download.
3. Save the download file to C:\download\apache-ant-1.9.5-bin.zip and wait for the download to finish.
4. Unzip C:\download\apache-ant-1.9.5-bin.zip to folder C:\local\apache-ant-1.9.3.
5. Set JAVA_HOME as a system environment variable to point to the JDK 1.8 home folder:
set "JAVA_HOME=C:\Program Files\Java\jdk1.8.0_45"
To verify the installation, open a command window to try the "ant" command. If you are getting the following output, your installation is done correctly:
C:\herong>\local\apache-ant-1.9.5\bin\ant -version Apache Ant(TM) version 1.9.5 compiled on May 31 2015
Last update: 2015.
Table of Contents