Build an android development environment in win7 (32-bit)

Source: Internet
Author: User

 

Note:

I used Android development under XP in the past. Now I am using a classmate's book, which is a 32-bit win7 flagship edition. I can't help but reinstall it ....

Verified and summarized as follows

1. First, JDK

Right-click "computer"-> properties-> advanced system settings-> Environment Variables

System variable-> New-> variable name: java_home
Variable value: C: \ Program Files \ Java \ jdk1.6.0 _ 18 (this is only the default program for installation in my JDK installation path, 18 supports win7)
System variable-> edit-> (this is generally available) variable name: Path
Add % java_home % \ bin at the beginning of the variable value (note the symbol)
(If there is already a path item in the bold text, you do not need to create a new one, but you need to add it directly. It is separated from the previous one)
System variable-> New-> (the variable to be created) variable name: classpath variable value:
.; % Java_home % \ Lib \ DT. jar; % java_hom E % \ Lib \ tools. jar; (Note the symbol)

Finally, test whether the environment variables are set successfully.
2. Eclipse + SDK + ADT

My SDK Version 2.2 adt0.9.7 was previously downloaded and not updated online.

The installation and configuration of Java JDK do not need to be mentioned above

Download and decompress eclipse 32-bit IDE.

Load the ADT to eclipse. The method is to copy the features and plugins files decompressed by the ADT to the corresponding folder of eclipse. Then, start eclipse and the SDK manager appears. The ADT is successfully installed.

Load the SDK configuration path, as shown in "D: \ sdk2.2 \ tools ".

Note the differences between SDK 2.2 and 2.3. for version 2 and 2, copy the files ADB, adbwinapi. dll, and adbwinusbapi. dll under D: \ sdk2.2 \ platform-tools to the Tools Folder.

In eclipse, go to [windows] ----- [preference] --- [Android] to set the SDK path D: \ sdk2.2

Success

Create an android project and test it.

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.