Android Tutorials - Herong's Tutorial Examples - v3.03, by Herong Yang
Outdated: Downloading and Installing Apache Ant 1.8
This section describes how to download and install Apache Ant 1.8.3 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.8.3 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.8.3-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.8.3-bin.zip and wait for the download to finish.
4. Unzip C:\download\apache-ant-1.8.3-bin.zip to folder C:\local\apache-ant-1.8.3.
5. Set JAVA_HOME as a system environment variable to point to the JDK 1.7 home folder:
set JAVA_HOME=C:\Progra~1\Java\jdk1.7.0_03
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.8.3\bin\ant -version Apache Ant(TM) version 1.8.3 compiled on February 26 2012
Table of Contents
Installing JDK 1.8 on Windows System
Installation of Android SDK R24 and Emulator
Installing Apache Ant 1.9 on Windows System
Developing First Android Application - HelloAndroid
Android Application Package (APK) Files
Android Debug Bridge (adb) Tool
AboutAndroid - Application to Retrieve System Information
android.app.Activity Class and Activity Lifecycle
View Objects and Layout Resource Files
Using "adb logcat" Command for Debugging
Build Process and Package File Content
Samsung Galaxy Tab 3 Mini Tablet
USB Debugging Applications on Samsung Tablet
USB Debugging Applications on LG-V905R Tablet
USB Debugging Applications on LG-P925g Phone
Outdated: Downloading and Installing JDK 1.7
Outdated: Downloading and Installing Android SDK R17
Outdated: Running Android SDK Manager
Outdated: Installing Android Platform 4.0.3 and Libraries
Outdated: Verifying Android Platform Installation
Outdated: Creating Android Virtual Device (AVD)
Outdated: Launching Android Emulator in AVD Manager
Outdated: Android Emulator Built-in Applications
Outdated: Android Emulator Built-in Web Browser
►Outdated: Downloading and Installing Apache Ant 1.8
Outdated: "HelloAndroid" - First Android Project
Outdated: Building the Debug Binary Package
Outdated: Installing the Debug Binary Package
Outdated: Running the Debug Binary Package
Outdated: Rebuild the Debug Binary Package
Outdated: Redefine Text in Resource Files
Outdated: Installing Android PDF Viewer APK File
Outdated: Copy PDF File to Android Emulator's File System
Outdated: Installing Adobe Reader APK File
Outdated: "adb shell" - Remote Shell Interface