Tuesday, October 28, 2008

To construct the Android develop environment in Windows

1. Create folder. Ex: C:\Android

2. Download Android SDK. Decompress it and put it in C:\Android\android_sdk

3. Download eclipse  3.4 (Ganymede). Decompress it and put it in C:\eclipse

4. Download and install Java SE Development Kit (JDK 5 or JDK 6).

5. Add the jre path to your path of environment variable. Ex: C:\Program Files\Java\jre1.6.0_05\bin

6. Install Android Eclipse Plugin ADT (Android Development Tools)

7. Installing the Eclipse Plugin (ADT)

  • Decompress it and put it in C:\Android\ADT\

  • Eclipse -> Help -> Software Updates... -> Add site -> Local -> select C:\Android\ADT\ -> OK -> OK

  • Press the check box of C:\Android\ADT and press install

  • Restart Eclipse.


8. Assign the path of Android SDK. Eclipse-> Window -> Preferences -> Android -> SDK Location -> C:\Android\android_sdk.

9. Now, you can create the Android project.

If Console display "Failed to get the adb version: Cannot run program "C:\Android\android_sdk\tools\adb.exe": CreateProcess error=3", you can ignore it.

No comments:

Post a Comment

You can leave any question here and I will make a response to you ASAP. :D