android环境搭建 ADT(jdk+eclipse+android sdk)
(1) java JDK 安装,略,我本机装的是1.6.0_37;
(2)下载Android sdk.
官网:http://developer.android.com/sdk/index.html
我这里下载的是android-sdk_r20.0.3-windows.zip
后,解压缩到c盘android-sdk-windows目录下。
(3) 根据andro官网推荐,下载Eclipse classic版本的eclipse
(4)Eclipse 插件ADT安装。
参加android官网提示:
Download the ADT Plugin
- Start Eclipse, then select Help > Install New Software.
- Click Add, in the top-right corner.
- In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
- Click OK.
If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
- In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
- In the next window, you'll see a list of the tools to be downloaded. Click Next.
- Read and accept the license agreements, then click Finish.
If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
- When the installation completes, restart Eclipse.
可参见:
http://hi.baidu.com/wlj1013/item/3e6080351168b9302f0f815c
http://developer.android.com/sdk/installing/installing-adt.html