android 开发环境搭建(Windows平台)

Windows 平台:

Eclipse IDE 版本------------JDK+Eclipse+Android SDK+ADT

1. 必须软件
① JAVA JDK SE 1.6 jdk-6u13-windows-i586-p.exe
下载地址:http://java.sun.com/javase/downloads/index.jsp
② Eclipse 3.4.2 eclipse-java-ganymede-SR2-win32.zip
下载地址:http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php
③ Google Android SDK android-sdk-windows-1.5_r1.zip
http://developer.android.com/intl/zh-CN/sdk/index.html

④ ADT-0.9.0 ADT-0.9.0.zip

2. 安装过程

① 安装JAVA JDK SE 1.6

    �设置环境变量:
    [1].JAVA_HOME:JAVA_HOME=C:\Program Files\Java\jdk1.6.0_13
    [2].JAVA_JRE_HOME:JAVA_JRE_HOME=C:\Program Files\Java\jdk1.6.0_13\jre
    [3].JRE_HOME:JRE_HOME=C:\Program Files\Java\jre6
    [4].Android_SDK_HOME:Android_SDK_HOME=C:\Mobile Phone DEV\Android SDK
    [5].CLASSPATH:CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%JRE_HOME%\lib;%JRE_HOME%\lib\rt.jar;%JAVA_JRE_HOME%\lib;%JAVA_JRE_HOME%\lib\rt.jar
    [6].Path:Path=%Android_SDK_HOME%\tools;%JAVA_HOME%\bin;%JRE_HOME%\bin;%JAVA_JRE_HOME%\bin;

② 解压Eclipse 3.4.2
    解压eclipse-java-ganymede-SR2-win32.zip 到C:\Eclipse For Android\

③ 解压Google Android SDK
    解压android-sdk-windows-1.5_r1.zip 到C:\Mobile Phone DEV\Android SDK

④ Eclipse 下安装ADT 0.9.0
    复制ADT-0.9.0.zip 到C:\打开C:\Eclipse For Android\eclipse.exe
    设置工作路径为C:\WorkSpace
    Help->SoftWare Update->find and install ->Search for new features to install ->Next->New Archived site->选中C:\ ADT-0.9.0.zip->OK->Finish->ADT-0.9.0.zip 选勾->Next->Accept->Next->Finish->Install All->Restart “YES”
    也可以在线安装:在线安装路径(https://dl-ssl.google.com/android/eclipse/)

⑤ 设置Google Android SDK 路径
    Window->preferences->选中Android->SDK Location中选择Google Android SDK的安装路径C:\Mobile Phone DEV\Android SDK->OK

你可能感兴趣的:(eclipse,android,windows,windows phone,Windows Mobile)