2010年7月4日 星期日

Android SDK 手機開發平台下載安裝方法

https://dl-ssl.google.com/android/android-sdk_r04-windows.zip2010/04/25
2010/04/25

Android是一個對第三方軟件完全開放的平台,開發者在為其開發程序時擁有更大的自由度,突破了iPhone等只能添加為數不多的固定軟件的枷鎖;同時與Windows Mobile、Symbian等廠商不同,Android操作系統免費向開發人員提供,這樣可節省近三成成本。


Android項目目前正在從手機運營商、手機廠商、開發者和消費者那裡獲得大力支持。谷歌移動平台主管安迪·魯賓(Andy Rubin)表示,與軟件開發合作夥伴的密切接觸正在進行中。從去年11月開始,谷歌開始向服務提供商、芯片廠商和手機銷售商提供Android平台,並組建「開放手機聯盟」,其成員超過30家。


android sdk怎麼安裝呢?
下載必須的軟件:

1. 下載JDK 1.6
http://www.java.net/download/jdk6/6u20/promoted/b01/binaries/jdk-6u20-ea-bin-b01-windows-i586-10_mar_2010.exe

2. 下載Eclipse 3.4及更新的版本。
http://www.eclipse.org/downloads/


3. 下載android SDK 2.1
https://dl-ssl.google.com/android/android-sdk_r04-windows.zip2010/04/25


安裝順序:
1. JDK 1.6
2. Eclipse
3. 配置Eclipse


如何配置Eclipse?(以下直接copy的android開發文檔)


Eclipse 3.4 (Ganymede)的配置:

1. Start Eclipse, then select Help > Software Updates.... In the dialog that appears, click the Available Software tab.

2. Click Add Site...

3. 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.

4. 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...

5. On the subsequent Install window, "Android DDMS" and "Android Development Tools" should both be checked. Click Next.

6. Read and accept the license agreement, then click Finish.

7. Restart Eclipse.


Eclipse 3.5 (Galileo)的配置:

1. Start Eclipse, then select Help > Install New Softare.

2. In the Available Software dialog, click Add....

3. 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.

4. 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.

5. 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.

6. Restart Eclipse.


以下兩個版本的Eclipse都是一樣的配置:

1. Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences).


2. Select Android from the left panel.

3. For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.

4. Click Apply, then OK.

.