2010年9月18日 星期六

用 eclipse 寫Android App - 準備你要的系統

1. 準備您的開發用的電腦

讀取一下 系統須求 並確認你的電腦有Android SDK符合硬體及軟體的要求 .安裝其他必須的的軟體在您下載Adnroid SDK 前,一般而立你必須先安裝 JDK (version 5 or 6 required) 及 Eclipse (若您要使用ADT Plugin 3.4 or 3.5 的Eclipse 是必須的).

安裝Eclipse 也是簡單的,並解壓縮並存放到安全的地方.

2. 下載並安裝SDK

選擇一個封裝並且下載至您的電腦,安裝SDK 非常簡單,就解壓縮它並將它放到安全的地方.

 

3. 在 Eclipse 中安裝ADT Plugin 

如果您要在Eclipse 中開發Android App ,你必須先安裝ADT Plugin ,請依下列方式更新安裝ADT Plugin.

選擇到Help -> Install new software , 選到Add 將https://dl-ssl.google.com/android/eclipse/ 輸入到url 中,這時劃面會出現Developer Tools,打勾....

一陣子過後會出現Android DDMS 及Android Development Tools ,用Mous 選起來後按Next

再來會出現Review Licenses -> 選其中一個 再選到 I accept the terms of licenses agreements. 按Finish ..  即開始安裝.

 

4. 加入Android 平台及其他的元件到你的SDK中

使用Android SDK 及AVD 管理員,這兩個部份都被包含在SDK 封包中,請新增至少一個Android 平台(ex: Android 1.5 or Android 2.2) 及其他的元件到你的SDK , 若你不是很確定那是元件你要加入,請參閱Which components do I need?

開啟Android 及AVD 管理員,執行SDK Setup.exe 在SDK Root 目錄,細部的指令請參閱Adding SDK Components.

到這邊 完成囉!

If you are new to Android, you can use the Hello World tutorial to get started quickly. Next Steps offers other suggestions of how to begin.

若你是開發Android App 的新手,請你可以參閱Hello World的程式範例, Next Steps 可以給你一些建議如何開始開發Android App.

細部安裝及設定SDK的導引,請參閱Installing the SDK.


 ===================================================================================================================================== This email and any attachments to it contain confidential information and are intended solely for the use of the individual to whom it  is addressed.If you are not the intended recipient or receive it accidentally, please immediately notify the sender by e-mail and delete  the message and any attachments from your computer system, and destroy all hard copies. If any, please be advised that any unauthorized  disclosure, copying, distribution or any action taken or omitted in reliance on this, is illegal and prohibited. Furthermore, any views  or opinions expressed are solely those of the author and do not represent those of ASUSTeK. Thank you for your cooperation. ===================================================================================================================================== 

沒有留言: