1.首先,系统能够运行Eclipse。这里是Android2.2下载地址和ADT 0.9.7
2.将Android下载包解压(for linux),得到android-sdk-linux_86,可以重新命名,如“Android”
3.进入解压后的tools目录,双击android文件,选择运行,出现android配置窗口
4.选择Settings,选上Force https://…. 前的复选框
5.选择Avaliable Packages,可以选择所有文件
6.在Installed packages点下Update All… ,然后Accept all,安装(这里可能需要重复多次)
7.打开Eclipse,安装ADT。
Eclipse 3.5 (Galileo)
- Start Eclipse, then select Help > Install New Software.
- In the Available Software dialog, click Add….
- In the Add Site dialog that appears, enter a name for the remote site (for example, “Android Plugin”) in the “Name” field.
In the “Location” field, enter this URL:
https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, you can try using “http” in the URL, instead of “https” (https is preferred for security reasons).
Click OK.
- Back in the Available Software view, you should now see “Developer Tools” added to the list. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. ClickNext.
- In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed. Click Next to read and accept the license agreement and install any dependencies, then click Finish.
- Restart Eclipse
Eclipse 3.4 (Ganymede)
- Start Eclipse, then select Help > Software Updates…. In the dialog that appears, click the Available Software tab.
- Click Add Site…
- In the Add Site dialog that appears, enter this URL in the “Location” field:
https://dl-ssl.google.com/android/eclipse/
Note: If you have trouble acquiring the plugin, try using “http” in the Location URL, instead of “https” (https is preferred for security reasons).
Click OK.
- Back in the Available Software view, you should see the plugin listed by the URL, with “Developer Tools” nested within it. Select the checkbox next to Developer Tools and clickInstall…
- On the subsequent Install window, “Android DDMS” and “Android Development Tools” should both be checked. ClickNext.
- Read and accept the license agreement, then click Finish.
- Restart Eclipse.
8.重启Eclipse==>Windows==>References==>Android==>Browse==>(选择android解压目录)