2009年2月16日

How to setup Android develop environment

How to setup Android develop environment

Description:
This article will lead you to setup Android development environment. We choose Microsoft Vista for out development platform and Eclipse with ADT for main editor.

Presondition:
1. Download Eclipse 3.4, http://www.eclipse.org
2. Download Android SDK package, in this time the Android SDK version is 1.0 r2
3. Download Android Development Tools(ADT), in this time the ADT vesion is 0.8.0
4. Download Java SDK, http://java.sun.com

Step introduction:
1. Install Java SDK
2. Install Android SDK to Window Vista
3. Install Eclipse and deploy ADT plugin
4. Make sample program and running

Install Java SDK
1. Install java through instal package which download form java.sun.com
2. Add JAVE_HOME to environment

Install Android SDK to Window Vista
1. Unpack android-sdk-windows-1.0_r2.zip to where you prefer location
2. Add ANDROID_HOME to your environment parameter which value is the sdk location
3. Add %ANDROID_HOME%\tools to path parameter suffix

Install Eclipse and deploy ADT plugin
1. Unpack eclipse to where you prefer location
2. Start eclipse throught double click $ECLIPSE_HOME\eclipse.exe
3. Click [Help] ->> [Software Updates] ->> [Add Site] ->> [Archive] ->> Choose the ADT archive
4. Select the ADT and Click Install button to running install
5. Restart eclipse when installation process has completed.

Important Note
1. All applications must now be signed before you can install them on the emulator, http://code.google.com/android/intro/develop-and-debug.html
2. The developmen guild, http://code.google.com/intl/zh-TW/android/intro/hello-android.html

沒有留言: