Android开发环境的搭建

  1. 工具
  • JDK
  • Android SDK
  • IDE(在此以Myeclipse 2014为例)
  • ADT
  1. 配置开发平台
  • JDK的安装与环境变量的配置

    Path:JDK安装目录中bin文件夹的路径;

    ClassPath:JDK安装目录中lib文件夹的路径。

    (若无Path或classPath的变量,则自行建立;若Path或classPath有多个路径,则用";"隔开)

  • Install IDE
  • Install SDK → Creat New AVD (Android Virtual Device)
  • Install ADT:

    Eclipse:"Help"→"Install" →"New"→"software"→"Add"

    在"Name"中输入ADT名称,在"Location"中输入ADT网址"http://dl-ssl.google.com/android/eclipse"

  • 将SDK与IDE关联起来

    Eclipse:"Windows"→"Preference"→ "Android"→"Browse"→选择SDK的安装路径


If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it:

  1. Download the ADT Plugin zip file (do not unpack it):
    Package Size MD5 Checksum
    ADT-23.0.6.zip 103344298 bytes f64b7e50c84799f41c642218c35f1bbe
  2. Start Eclipse, then select Help > Install New Software.
  3. Click Add, in the top-right corner.
  4. In the Add Repository dialog, click Archive.
  5. Select the downloaded ADT-23.0.6.zip file and click OK.
  6. Enter "ADT Plugin" for the name and click OK.
  7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  9. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

  10. When the installation completes, restart Eclipse.

To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions.


试试这个,能解决国内访问Google服务器的困难
启动 Android SDK Manager ,打开主界面,依次选择「Tools」、「Options...」,弹出『Android SDK Manager - Settings』窗口;
在『Android SDK Manager - Settings』窗口中,在「HTTP Proxy Server」和「HTTP Proxy Port」输入框内填入mirrors.neusoft.edu.cn和80,并且选中「Force  https://...  sources to be fetched using  http://... 」复选框。设置完成后单击「Close」按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
依次选择「Packages」、「Reload」。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值