1.安装JDK1.6,Eclipse3.6

2.安装android SDK http://developer.android.com.nyud.net/sdk/index.html

3.安装Eclipse插件 ADT(android development tool)
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/

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

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

4.Adding Platforms and Other Components
# From within Eclipse, select Window > Android SDK and AVD Manager.
# On Windows, double-click the SDK Manager.ext file at the root of the Android SDK directory.

5.创建AVD(android virtual device)
To create an AVD:

1. In Eclipse, choose Window > Android SDK and AVD Manager.
2. Select Virtual Devices in the left panel.
3. Click New.

The Create New AVD dialog appears.
4. Type the name of the AVD, such as "my_avd".
5. 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.

You can ignore the rest of the fields for now.
6. Click Create AVD.

6.创建android项目 hello world
1) From Eclipse, select File > New > Project.
2) Select "Android Project" and click Next.
3) Fill in the project details with the following values:

* Project name: HelloAndroid
* Application name: Hello, Android
* Package name: com.example.helloandroid (or your own private namespace)
* Create Activity: HelloAndroid

Min SDK Version:这个值和API等级一致,如:9
This value specifies the minimum API Level required by your application.

更多相关文章

  1. Pycharm安装PyQt5的详细教程
  2. Android安装卸载程序具体操作方法解析
  3. Android(安卓)逐帧动画的小例子
  4. Android(安卓)新手摸石头过河
  5. Android(安卓)获取已经安装的程序
  6. 【Android】Android中选项菜单(OptionMenu)的创建
  7. 如何在win7下安装和配置Android(安卓)Studio
  8. [原创] Android(安卓)SDK 安装全记录
  9. 第一个android程序以及遇到问题解决办法

随机推荐

  1. C中的time()函数怎么用?
  2. C语言中%d,%s,%x,%f,%.100的意义
  3. c语言是什么意思
  4. C#中常用的运算符有哪些
  5. c语言如何输出玫瑰花数?(代码示例)
  6. 指针常量与常量指针举例说明
  7. C#是什么,能做些什么?
  8. C#与.net有什么关系
  9. 数据结构中散列表(哈希表)经典之冲突处理
  10. C语言如何获取进程ID?(代码实例)