Windows 版 http://dl.google.com/android/android-sdk_r04-windows.zip
Linux 版 http://dl.google.com/android/android-sdk_r04-linux_86.tgz
Ma c 版 http://dl.google.com/android/android-sdk_r04-mac_86.zip
In tall:
1. install jdk 1.6
2. install eclipse 3.5
3. eclipse enviroment setup:
Eclipse 3.4 (Ganymede)
Eclipse 3.5 (Galileo)
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 aqcuiring 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 click Install...
On the subsequent Install window, "Android DDMS" and "Android Development Tools" should both be checked. Click Next .
Read and accept the license agreement, then click Finish .
Restart Eclipse.
Start Eclipse, then select Help > Install New Softare .
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 aqcuiring 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. Click Next .
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.
Now modify your Eclipse preferences to point to the Android SDK directory:
Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences ).
Select Android from the left panel.
For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.