Create a Project with Eclipse

  1. Click New  in the toolbar. 点击工具条上的新建按钮。
  2. In the window that appears, open the Android folder, select Android Application Project, and click Next. 在出现的窗口中,打开Android文件夹,选择Android Application Project,点击下一步。
  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是显示用户的应用程序的名称。比如这个项目,使用的是“My First 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.”这样。但是,你不能在Google Play上使用"com.example" 的命名空间来发布你的应用程序。
    • Minimum Required SDK is the lowest version of Android that your app supports, indicated using the API 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 in Supporting 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.Target SDK表明你测试过的你的应用的Android的最高版本(也是使用的API水平)。

      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.随着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.
    • Theme specifies the Android UI style to apply for your app. You can leave this alone. Compile With是编译你的应用的平台版本。在默认情况下,这个设置为你的SDK中最新的Android的版本。(应该是Android 4.1或者更高版本,如果你没有这样的一个可用的版本,你必须使用SDK Manager去安装一个)。你仍可以创建支持旧版本的应用,但是设置生成目标的最新版本允许启用新的功能和优化的最新设备,从而产生一个伟大的用户体验。

    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 the Iconography design guide.

    Click Next.你能通过很多方式自定义一个图标和工具生成的所有的屏幕密度图标。在你发布你的应用之前,你应该确保你的图标会在满足插图设计指南所定义的规格。点击下一步。

  6. Now you can select an activity template from which to begin building your app.现在你可以选择一个activity模板去开始创建你的应用程序。

    For this project, select BlankActivity and click Next.比如这个项目,选择BlankActivity,点击下一步。

  7. Leave all the details for the activity in their default state and click Finish.让activity所有的细节处于默认状态,点击完成。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值