搭建Android开发环境

1.Android SDK的安装

下载SDK安装包android-sdk_r18-windows.zip(http://developer.android.com/sdk/index.html)并解压。

解压之后为:

此时,我们下载的SDK contains only the basic SDK tools. It doesnot contain an Android platform or any third-party libraries. In fact, it doesn't even have all the tools you need to develop an application.

In order to start developing applications, you must install the Platform-toolsand at least one version of the Android platform, using the SDK Manager.

双击SDK Manager.exe,进行选择安装,在里面勾选tools和你想要的版本。

下面是更新之后的目录


更新完之后,别忘了配置环境变量:

右击“计算机”——属性——高级系统设置——环境变量,新建变量ANDROID.


配置环境变量:

到此,Android的SDK安装基本完成了。


2.ADT的安装与配置

安装:

下载ADT(http://developer.android.com/sdk/eclipse-adt.html

将下载的SDK直接解压放到eclipse安装目录下的dropins文件夹下即可。

(或者:打开eclipse,Help>Install New Software,添加,Name:ADT Plugin,URL:

https://dl-ssl.google.com/android/eclipse/

配置:

重启eclipse,选择菜单window——Preferences——Android,设置SDK Location为上面的SDK路径即可。(如:E:\tools\android-sdk-windows)


3.Android模拟器的配置

Windows > AVD Manager,在这里管理Android模拟器(新建、编辑、删除、启动)

new一个:

另见:http://blog.youkuaiyun.com/lk_blog/article/details/7439206

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值