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. android输入字符限制
  2. Android(安卓)RecyclerView瀑布流布局添
  3. Warning:Default Activity not found And
  4. 备战面试旺季:三年开发经验,离开了某创业公
  5. Android的进程管理 -奇怪且创新的进程哲
  6. android 字体样式
  7. Android社交系统----代码结构
  8. 基于Android小巫新闻客户端开发---显示新
  9. Android--------WebView+H5开发仿美团 预
  10. 从零开始--系统深入学习android(实践-让我