Eclipse Indigo 配置 Android 开发环境

之前我在Win环境装过Android开发环境,只不过当时是装的 Eclipse 的 Helios 版本,原因是当时的ADT不支持最新的Indigo的版本,下面就是最新版本的安装

这里安装的细节我没有写,安装的细节可以参看我之前版本的安装文章:

http://www.cnblogs.com/ghj1976/archive/2011/04/15/2017292.html

一、安装JDK

下载地址: http://www.oracle.com/technetwork/java/javase/downloads/index.html

我这里用的是:Java SE 6 Update 26

http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html

jdk-6u26-windows-x64.exe

二、下载最新的Eclipse

我是从 http://www.eclipse.org/downloads/ 下载的 Eclipse Indigo

image

三、安装ADT

安装方法在: http://developer.android.com/sdk/eclipse-adt.html#preparing 

我这里选择下载后安装,下载地址:http://dl.google.com/android/ADT-12.0.0.zip

  1. Start Eclipse, then select Help > Install New Software....
  2. Click Add, in the top-right corner.
  3. In the Add Site dialog, click Archive.
  4. Browse and select the downloaded zip file.
  5. Enter a name for the local update site (e.g., "Android Plugin") in the "Name" field.
  6. Click OK.
  7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  9. Read and accept the license agreements, then click Finish.
    Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  10. When the installation completes, restart Eclipse.

上面步骤中 3->6 是下载后安装特有的步骤。如果直接用网址自动下载安装,则这里3-6需要简单的输入网址即可。

四、安装 Android SDK

下载地址: http://developer.android.com/sdk/index.html

注意如果是64位的系统,最好下载:android-sdk_r12-windows.zip   

installer_r12-windows.exe 虽然是推荐的,但是这个安装程序在安装时会寻找JDK的目录,64位的系统,它找的是32的JDK,如果你没有装32位JDK,就无法安装

参看:http://eahta.com/2011/01/android-sdk-jdk-not-found/

小结

Eclipse Indigo 配置 Android 开发环境跟Helios基本一样,只是有一些小的细节需要注意而已。

网上之前说的 Indigo 无法配置Android开发环境是以前ADT不支持的,现在已经支持了。

这里的安装方法跟我之前版本的安装方法一样

请参看 http://www.cnblogs.com/ghj1976/archive/2011/04/15/2017292.html

原文地址:https://www.cnblogs.com/ghj1976/p/2133468.html