1、下载安装必要的软件:Eclipse、JDK
2、下载SDK Starter Package (http://developer.android.com/sdk/index.html),解压到一个目录
3、在Eclipse中安装Android Development Tools (ADT) 插件
a、Start Eclipse, then select Help > Install New Software....
b、Click Add, in the top-right corner.
c、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/
d、Click OK
4、配置ADT插件
a、Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences).
b、Select Android from the left panel.
c、For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
d、Click Apply, then OK.
5、添加平台及其他组件
在Eclipse界面中, 选择菜单 Window > Android SDK and AVD Manager,点左侧“Available packages”,在右侧选需要的平台及组件
6、创建一个Android Virtual Device (AVD)
a、In Eclipse, choose Window > Android SDK and AVD Manager.
b、Select Virtual Devices in the left panel.
c、Click New.The Create New AVD dialog appears.
d、Type the name of the AVD, such as "my_avd".
e、Choose a target. The target is the platform (that is, the version of the Android SDK, such as 2.1) you want to run on the emulator.
f、Click Create AVD.
2、下载SDK Starter Package (http://developer.android.com/sdk/index.html),解压到一个目录
3、在Eclipse中安装Android Development Tools (ADT) 插件
a、Start Eclipse, then select Help > Install New Software....
b、Click Add, in the top-right corner.
c、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/
d、Click OK
4、配置ADT插件
a、Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences).
b、Select Android from the left panel.
c、For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
d、Click Apply, then OK.
5、添加平台及其他组件
在Eclipse界面中, 选择菜单 Window > Android SDK and AVD Manager,点左侧“Available packages”,在右侧选需要的平台及组件
6、创建一个Android Virtual Device (AVD)
a、In Eclipse, choose Window > Android SDK and AVD Manager.
b、Select Virtual Devices in the left panel.
c、Click New.The Create New AVD dialog appears.
d、Type the name of the AVD, such as "my_avd".
e、Choose a target. The target is the platform (that is, the version of the Android SDK, such as 2.1) you want to run on the emulator.
f、Click Create AVD.