Android Development Environment Deployment

Source: Internet
Author: User

1. Installing the JDK

I'm installing jdk-6u5-windows-i586-p here.

To configure environment variables:

Java_home:d:\program files\java\jdk1.6.0_05

Path:;%java_home%\bin;%java_home%\jre\bin

CLASSPATH:.; %java_home%lib;%java_home%lib\tools.jar

2. Eclipse

: http://www.eclipse.org/downloads/

3. Download the Android SDK

: http://developer.android.com/sdk/index.html (not the following address: http://developers.androidcn.com/sdk/index.html)

Download SDK Tools only, do not download the ADT bundle because the ADT bundle contains eclipse

Click: SDK Manager.exe Download the corresponding version

If the download process, the following error occurred: Connection to https://dl-ssl.google.com refused or Connection to Http://dl-ssl.google.com refused

How to handle: Add the following three lines at the bottom of the hosts file below C:\Windows\System32\Drivers\etc

203.208.46.146 www.google.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

4. ADT Installation

Help > Install New software > Add ...

Name: ADT

Path: Http://dl-ssl.google.com/android/eclipse

Check out the 6 options shown.

Set Android SDK path: Window > Preferences ... > Android

Choice: D:\Program files\android-sdk-windows

5. Create AvD

Window > Android Virtual Device Manager > Create ...

  

After filling in the name and various parameters, the virtual device is ready to complete.

6. Hello World

Reference Link: http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.htmlhttp://huangz.iteye.com/blog/1103590http:// blog.csdn.net/android_tutor/article/details/7425021http://blog.163.com/[email protected]/blog/static/7023477720110158362391/http://blog.csdn.net/x605940745/article/details/17911115

Android Development Environment Deployment

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.