android 环境搭建

一、安装SDK Starter Package

在安装之前,要先安装JDK。

若已安装JDK,但在安装SDK Starter Package仍然提示jdk不存在,点击上一步,再点击下一步后,问题可以解决。

 

二、设置环境变量:ANDROID_SDK_HOME,值为SDK的安装目录。

 

三、使用SDK Starter Package后,启动Android SDK and AVD Manager下载所需要的平台和组件

在win7下面,使用管理员权限使用Android SDK and AVD Manager下载后,才能安装。否则,会因为权限问题,无法unzip,报拒绝访问的错。

 

四、启动Android SDK and AVD Manager,添加一个新的AVD。

 

五、使用ecplise安装ADT插件。

  1. Start Eclipse, then select Help > Install New Software....
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK

    Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).

  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.

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

  8. When the installation completes, restart Eclipse.

 

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值