- Click New in the toolbar.
在工具栏点击新建
2.In the window that appears, open the Android folder, selectAndroid Application Project, and click Next.
在出现的窗口中,打开Android文件夹,选择Android应用程序项目,然后单击“下一步”
3.Fill in the form that appears:
填写出现的表格
Application Name is the app name that appears to users. For this project, use "My First App."
Application Name是显示用户的应用程序的名称。在这个项目中,使用“我的第一个App”
- Project Name is the name of your project directory and the name visible in Eclipse.
Project Name是你的项目目录和在Eclipse中可见的名称。
- Package Name is the package namespace for your app (following the same rules as packages in the Java programming language). Your package name must be unique across all packages installed on the Android system. For this reason, it's generally best if you use a name that begins with the reverse domain name of your organization or publisher entity. For this project, you can use something like "com.example.myfirstapp." However, you cannot publish your app on Google Play using the "com.example" namespace.
Package Name是你的应用程序包的命名空间(一下是Java编程语言在包相同的规则)。你的包名必须是在安装在Android系统中的所有包中是独一无二的。由于这个原因,通常最好是如果你使用的名称一般是开始与反向域名您的组织或出版商的实体。在这个项目中,您可以使用一些像“com.example.myfirstapp”。但是,你无法发布您的应用程序使用谷歌玩“com.example”。
- Minimum Required SDK is the lowest version of Android that your app supports, indicated using theAPI level. To support as many devices as possible, you should set this to the lowest version available that allows your app to provide its core feature set. If any feature of your app is possible only on newer versions of Android and it's not critical to the app's core feature set, you can enable the feature only when running on the versions that support it (as discussed inSupporting Different Platform Versions). Leave this set to the default value for this project.
Minimum Required SDK 是您的应用程序所支持的最低版本的Android平台,表明使用的API等级。为了支持尽可能多的设备,你应该设置为最低的版本,允许你的应用程序提供其核心功能设置。如果你的应用程序的任何特征只有在最新版本的Android是可能的,这并不是该软件的核心功能的关键,你可以启用该功能的版本,支持运行时(如在支持不同平台版本的讨论)。设置这个为这个项目的默认值。
- Target SDK indicates the highest version of Android (also using the API level) with which you have tested with your application.
As new versions of Android become available, you should test your app on the new version and update this value to match the latest API level in order to take advantage of new platform features.
Target SDK 表明你所使用的应用程序为最高版本的Android平台(也用API等级表示)。随着Android最新版本的使用,你可以以新版本测试你的应用程序和更新此值匹配为最新的API级别利用新平台的特点。
- Compile With is the platform version against which you will compile your app. By default, this is set to the latest version of Android available in your SDK. (It should be Android 4.1 or greater; if you don't have such a version available, you must install one using the SDK Manager). You can still build your app to support older versions, but setting the build target to the latest version allows you to enable new features and optimize your app for a great user experience on the latest devices.
Compile With是平台的版本,以备你编译你的应用程序。默认情况下,这将是你的Android SDK的最新版本。(这应该是Android 4.1或更高;如果你没有这样的一个版本,您必须安装一个,使用SDK Manager)。你仍然可以建立您的应用程序支持的旧版本,但设置生成目标的最新版本允许您启用新的功能和优化的最新设备,使之拥有一个良好的用户体验。
- Theme specifies the Android UI style to apply for your app. You can leave this alone.
Theme指定Android UI风格来满足您的应用程序。您可以单独设置。
Click Next.
点击下一步
4.On the next screen to configure the project, leave the default selections and click Next.
配置项目的下一个事项,把默认的选择,请单击“下一步”。
5.The next screen can help you create a launcher icon for your app.
下一个屏幕可以帮助您创建一个为您的应用程序启动器图标。
You can customize an icon in several ways and the tool generates an icon for all screen densities. Before you publish your app, you should be sure your icon meets the specifications defined in theIconography design guide.
您可以再几个方面自定义一个图标以及利用工具生成所有的屏幕密度坐标。在您发布您的应用程序之前,您应该您的图标满足插图设计指南所定义的规格。
Click Next.
6.Now you can select an activity template from which to begin building your app.
现在您可以选择从哪个开始创建你的应用程序的活动模板。
7.For this project, select BlankActivity and click Next.
在这个项目中,选择BlankActivity并单击“下一步”。