Prepare:

1. download jdk 1.6

link: http://java.sun.com/javase/downloads/index.jsp

2. download eclipse 3.5

link: http://www.eclipse.org/downloads/

3. download android sdk 2.1

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

Now modify your Eclipse preferences to point to the Android SDK directory:

  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 .


更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. typedef在c语言中是什么意思
  2. c语言换行符号是什么
  3. c语言中\t是什么意思
  4. 史上最佳的C#编程书籍推荐
  5. &&在C语言中是什么意思
  6. c++标识符命名规则
  7. c语言中将一个字符串转换到整型数据类型
  8. c语言整除符号是什么?
  9. c语言\n什么意思?
  10. C语言中数据int的取值范围为多少?