Windows XP-android environment setup-[Comprehensive tutorials on Tanzhou android development], xp-android

Source: Internet
Author: User

Windows XP-android environment setup-[Comprehensive tutorials on Tanzhou android development], xp-android

Recently, many people in our class won't build the environment. Today, our Tanzhou android teacher talked about how to build the Windows XP-android environment. I secretly took a note, I hope it will help more of us learn about Android. It will not be too difficult to follow the steps step by step.

Note: This tutorial explains how to build an android development environment under Windows XP. If you are not a friend of the XP system, Please bypass it!

Before you start, download the required 6 files from your online storage.

Download ball skirt: 175229978

Installation directory:

Step 1 à install JDK ----------------------------------- corresponding Installation File: jdk-6u22-windows-i586.exe

Step 2 à install Android SDK -------------------- the corresponding Installation File: android-sdk_r17-windows.zip

Step 3. install Tomcat ------------------------------ the corresponding Installation File: apache-tomcat-7.0.26-windows-x86.zip

Step 4 à install Ant ----------------------------------- corresponding Installation File: apache-ant-1.8.3-bin.zip

Step 5. Install Eclipse ----------------------------- the corresponding Installation File: eclipse.part1.rarand eclipse.part2.rar

Step 6. Install the Eclipse ADT plug-in ---------- the corresponding Installation File: ADT-17.0.0.zip

Step 7. Manage AVD in the graphic interface

Step 8. Set the Android system language

========================================================== ===

1. Install JDK

Run the installation program mongojdk-6u22-windows-i586-p.exe and click Next to install it.

During the installation process, the installation directory selection page appears twice, all of which are changed to the following path:

Jdk installation directory: C: \ Java \ jdk1.6.0 _ 22

Jre installation directory: C: \ Java \ jre6 \

 

After installation, configure the environment variables:

Open the environment variables window: Right-click my computer, click Properties, click Advanced, and click environment variables ].

Create the following variables in the above user variables and fill in the following paths respectively:

À variable name: JAVA_HOME

Variable value: C: \ Java \ jdk1.6.0 _ 22

À variable name: PATH

Variable value: % JAVA_HOME %/bin

À variable name: CLASSPATH

Variable value:.; % JAVA_HOME %/lib/tools. jar; % JAVA_HOME %/lib/dt. jar

After the configuration is complete, click Start> Run, Enter cmd, enter javac, and press Enter. If the following information is displayed, the configuration is successful.

 

2. Install the Android SDK

Decompress 【android-sdk_r17-windows.zip to the E: \ Android directory (the Android directory is created by yourself, and all Android development-related software will be stored in this directory in the future) to get an android-sdk-windows folder, the folder contains the following file structure:

À add-ons: This directory stores additional attachment software. After decompression, the directory is empty.

À platforms: This directory stores different Android versions. After decompression, the directory is empty.

À tools: This directory stores a large number of Android development and debugging tools.

À SDK Manager.exe: This program is the Android SDK and AVD (Android Virtual Device) manager.

You can use this tool to manage Android SDK and AVD.

 

Run [sdk Manager.exe] in the E: \ Android \ android-SDK-windows directory]

Then wait for updates... (this step must be networked because the SDK installation package needs to be obtained online ).

If the following prompt window is displayed during the update process:

 

The update fails. The solution is:

To C: \ WINDOWS \ system32 \ drivers \ etc directory, open the [hosts] file with notepad, add the [74.125.237.1 dl-ssl.google.com] on the last line, save the [hosts] file and close.

 

Then, disable the Androic SDK Manager software and open it again. Then, the update is successful.

 

After the update is complete, the latest installation package is listed. [Tools] is an Android platform tool and is required.

The latest installation package after the update is Android 4.0.3 (API 15). The software is automatically started. If you need another version of the installation package, you can check it out.

The Extras directory is a help file. You can check it or not.

 

After selecting the installation package to be downloaded, click Install 9 packages… in the lower right corner ...] In the left-side Navigation Pane, the toolkit to be installed is displayed, as shown in.

 

If the installation is not good, contact me in the group. I have been writing for so long since. It is estimated that I am also a good boy. I still take notes this year!

Hey, I went out for supper with my buddy. The software QQ group: 175229978

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.