Android Development (i): Environment construction

Source: Internet
Author: User

Introduction

This series will record my journal and experience in the process of stepping into Android, if there is any omission, I also hope to enlighten.

Directory

1. JDK Installation and configuration

2, Eclipse, Android SDK ADT Installation and configuration

Body

1. JDK Installation and configuration

First go here http://www.oracle.com/technetwork/java/javase/downloads/index.html download, and then the next step to complete the installation.

Next, the environment variable is configured with the following steps:

① Add the following environment variable to the system variable, environment variable, advanced system settings, Properties-

The ②java_home value is: C:\Program files\java\jdk1.7.0_55 (the directory where you installed the JDK)

The ③classpath value is:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin;

④ Edit Path value, append at last:;%java_home%\bin;

Once these are configured, you can check that the installation configuration is successful. Open the cmd window and enter Java–version to view the version information for the JDK. Such as:

2, Eclipse, Android SDK ADT Installation and configuration

As a novice, as soon as possible to get started is my goal, directly to http://developer.android.com/sdk/index.html download Google for developers integrated version,

Includes Eclipse, Android SDK, Android ADT.

After the download is complete, you will see Eclipse, SDK, and then launch Eclipse.

Next, download and install some SDK packages as needed, and click on the SDK Manager icon in the toolbar

When the Android SDK Manager window pops up, the SDK packages that can be installed and updated (depending on the time of the network) are refreshed and selected for installation.

OK, come here first, next time we'll have a HelloWorld and run on the simulator.

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.