2024年4月5日发(作者:)

no Pain no Gain no Gavin 博客同步更新至:/deaboway /deaboway

一、 背景和准备

1. Android简介

Android是Google于2007年11月5日宣布的基于Linux平台的开源手机操

作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是

首个为移动终端打造的真正开放和完整的移动软件。可以把它简单理解成Linux

上套了一个JAVA的壳。

2. Android 网络资源

Android的网站是:

/,目前还可以登陆,比较悲剧

的是:其Partners部分:/和Developers部分:

/,大陆地区已经无法访问。

Android的系统要求请参考:

/sdk/

当前最新版本的Android SDK下载器(真正的SDK还是需要另外下载的),小

于是生是无法直接到官网/sdk/ 下载的,

下载另外找了一个地址/sdk/,

链接和说明如下:

Android SDK for Windows

android-sdk_

/android/android-sdk_

installer_ (Recommended)

/android/installer_

Android SDK for Mac OS X (intel)

android-sdk_r08-mac_

/android/android-sdk_r08-mac_

Android SDK for Linux (i386)

android-sdk_r08-linux_

/android/android-sdk_r08-linux_

Here's an overview of the steps you must follow to set up the Android SDK:

1. Prepare your development computer and ensure it meets the system

requirements.

2. Install the SDK starter package from the table above. (If you're on Windows,

download the installer for help with the initial setup.)

3. Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).

4. Add Android platforms and other components to your SDK.

5. Explore the contents of the Android SDK (optional).

1

3. 软件包下载

a. JDK 1.6

下载网址:

/technetwork/java/javase/downloads/

当前最新版本为Java SE 6 Update 23

小生机器上安装的是:jdk1.6.0_21,也一样用,其实只要你是JDK1.5以上

就可以了。

b. Android SDK下载器

下载地址上面已经给出了,可以根据你的系统选择不同的安装包。小生是

windows 2003 server,因此下载了

/android/android-sdk_,之后直接解压缩即可。

c. Eclipse IDE

Eclipse 3.4 (Ganymede)以后版本均可。小生下载了最新版本的Helios (3.6)

二、 JAVA环境

Windows上配置JAVA环境变量如下:

JAVA_HOME

Path:

2