Android SDK 2.1 install

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 .

 


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值