The latest Android development environment based on ADT-BUNDLE-WINDOWS-X86

Source: Internet
Author: User

The latest Android development environment built on adt-bundle-windows-x86

A system to be installed as an Android client, to an Android development environment quickly set up, the system Win7, the specific steps are as follows:

1. Download jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install JDK, my installation directory is C:\Java\jdk1.7.0_17 and C:\Java\jre7;

2, download Android SDK toolkit adt-bundle-windows-x86,http://developer.android.com/sdk/index.html about 400 m, which contains Eclipse and SDK, Eclipse it's already integrated with ADT. My entry version adt-bundle-windows-x86-20130219; Unzip the adt-bundle-windows-x86 package, my path is C:\Java\adt-bundle-windows-x86, It contains the Eclipse and SDK folders, as well as an SDK Manager;

3, configuration environment variables, desktop--Computer, right-click Properties, advanced system settings, advanced systems, environment variable->adminstrator user variables (specifically related to their own user name), new or edited variables (if already exist, append , not existing on the new, when the addition of attention, the number is separated from the previous)

Variable name: java_home
Variable Value: C:\Java\jdk1.7.0_17

Variable name: ANDROID_SDK
Variable Value: C:\Java

Variable name: Path
Variable value:.; %java_home%\bin; C:\Java\adt-bundle-windows-x86\sdk\tools; C:\Java\adt-bundle-windows-x86\sdk\platform-tools

Variable name: CLASSPATH
Variable value:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\lib;

(Note the previous. Number)

4. Test environment variables

Run->cmd, enter Java or JAVAC Test command to see success or not;

5. Related SDK Updates

Running Eclipse under C:\Java\adt-bundle-windows-x86\eclipse

Update android4.2.2 API, other on-demand updates!

6. Configure Android Simulator

Open the AVD Manager

Create a new Android simulator

Fill in relevant parameters as required

Click Start to run the simulator

7, the Real machine debugging

Set up Android phone for USB debug mode, step:menu-> settings--Development, choose USB Debugging;

USB connection to the computer, the installation of mobile phone driver, if there is no relevant driver, you can install pea pods for driver installation;

Detects if a mobile device has been identified

8, the new HelloWorld, has been the next step:

Project Name HelloAndroid1

Final project Structure

9, the simulator debugging operation:

Right-click Android Project->run as->android Application

10. True Machine Commissioning

Right-click Android Project->run as->android Application

After selecting the device, run the console output as follows:

At this point, the development environment is fully built!

Related Article

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.