Building Your First App

创建你的第一个App项目

Dependencies and prerequisites

依赖关系和先决条件

* Android SDK
* ADT Plugin 22.6.2 or higher (if you're using Eclipse)

*Android SDK

*ADT 插件 22.6.2或者更高(如果你使用Eclipse的话)

Welcome to Android application development!

欢迎来到Android应用程序开发!

This class teaches you how to build your first Android app.

这节课程将教你如何创建你的第一个Android App项目。

You’ll learn how to create an Android project and run a debuggable version of the app.

你将学会如何创建一个Android项目并且运行一个app的可调试等级。

You’ll also learn some fundamentals of Android app design, including how to build a simple user interface and handle user input.

你也可以学会Android app设计的一些基本原理,包括入伙创建一个简单的用户界面和处理用户的输入。

Before you start this class, be sure you have your development environment set up. You need to:

在你开始这节课程前,请确保你已经配置好了你的开发环境,为此你需要做以下事情:

1. Download the Android SDK.
2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
3. Download the latest SDK tools and platforms using the SDK Manager.

1.下载Android SDK

2.安装eclipse的ADT插件(如果你使用Eclipse IDE的话)

3.使用SDK管理器下载最新的SDK工具集合和开发平台

Note: Make sure you install the most recent versions of the ADT plugin and the Android SDK before you start this class. The procedures described in this class may not apply to earlier versions.

注意:请确保在你开始这节课前安装了最新的ADT插件和Android SDK。这节课里描述的课程可能不适用于以前等级的ADT插件和Android SDK。

If you haven’t already done these tasks, start by downloading the Android SDK and following the install steps. Once you’ve finished the setup, you’re ready to begin this class.

如果你早已经完成了这些任务,请根据安装步骤开始下载Android SDK。一旦已完成了这些设置,你就可以准备开始这节课程了。

This class uses a tutorial format that incrementally builds a small Android app that teaches you some fundamental concepts about Android development, so it’s important that you follow each step.

这节课使用一个教程格式:循序渐进的创建一个小的Android App项目,以教会你一些关于Android开发的基础概念,因此它很重要,请按照每个步骤进行下去。

Start the first lesson ›

开始第一节课吧

Except as noted, this content is licensed under Creative Commons Attribution 2.5. For details and restrictions, see the Content License.

除非另有声明,这些内容是基于创作共用署名2.5许可的。参照内容许可可获得详细信息。

这是本人自己翻译的,如果您发现其中有重大翻译错误,敬请批评指正。感谢!

Android官方文档翻译 二 1.Building Your First App的更多相关文章

  1. android官方文档翻译(不断更新中。。。)

    最近在自学android,抽空把官方文档的guide跟training差不多看了一遍,又对比了一些书籍,感觉还是官方文档讲得比较好,所以自己计划把官方文档翻译一下,方便自己的知识巩固以及复习查找,由于 ...

  2. Android官方文档翻译 三 1.1Creating an Android Project

    Creating an Android Project 创建一个Android项目 An Android project contains all the files that comprise th ...

  3. Android官方文档翻译 一 Getting Started

    Getting Started 让我们开始吧! Welcome to Training for Android developers. 欢迎来到Android开发者训练营. Here you'll f ...

  4. Android官方文档翻译 四 1.2Running Your App

    Running Your App If you followed the previous lesson to create an Android project, it includes a def ...

  5. Android官方文档翻译 十二 3.Supporting Different Devices

    Supporting Different Devices 支持不同设备 Dependencies and prerequisites 依赖关系和先决条件 Android 1.6 or higher A ...

  6. Android官方文档翻译 九 2.2Adding Action Buttons

    Adding Action Buttons 增加动作按钮 This lesson teaches you to 这节课教给你 Specify the Actions in XML 在XML中指定动作 ...

  7. Android官方文档翻译 五 1.3Building a Simple User Interface

    Building a Simple User Interface 创建一个简单的用户界面 This lesson teaches you to 这节课将教给你: Create a Linear Lay ...

  8. Android官方文档翻译 十六 4.Managing the Activity Lifecycle

    Managing the Activity Lifecycle 管理activity的生命周期 Dependencies and prerequisites 依赖关系和先决条件 How to crea ...

  9. Orchard官方文档翻译(二) 安装 Orchard

    原文地址:http://docs.orchardproject.net/Documentation/Installing-Orchard 想要查看文档目录请用力点击这里 最近想要学习了解orchard ...

随机推荐

  1. [BUUCTF]PWN5——ciscn_2019_n_1

    [BUUCTF]PWN5--ciscn_2019_n_1 题目网址:https://buuoj.cn/challenges#ciscn_2019_n_1 步骤: 例行检查,64位,开启了nx保护 nc ...

  2. 关于@Autowired和@Resource注解区别

    区分一下@Autowired和@Resource两个注解的区别: 1.@Autowired默认按照byType方式进行bean匹配,@Resource默认按照byName方式进行bean匹配 2.@A ...

  3. CF355B Vasya and Public Transport 题解

    Content 小 \(A\) 要乘坐交通工具,其中公交车的辆数是 \(n\),第 \(i\) 辆公交车的编号为 \(i\),乘坐次数为 \(a_i\):手推车的辆数是 \(m\),每辆手推车的编号为 ...

  4. jquery Ajax 不执行回调函数success的原因

    jquery Ajax 不执行回调函数success的原因: $.ajax({ type: "post", contentType: "application/json& ...

  5. 总结Vue第二天:自定义子组件、父子组件通信、插槽

    总结Vue第二天:自定义子组件.父子组件通信.插槽 一.组件: 组件目录 1.注册组件(全局组件.局部组件和小demo) 2.组件数据存放 3.父子组件通信(父级向子级传递数据.子级向父级传递数据) ...

  6. JAVA简单整合protoc文件

    引入maven <dependency> <groupId>com.google.protobuf</groupId> <artifactId>prot ...

  7. Protobuf 动态加载 .proto 文件并操作 Message

    Google Protocol Buffer 的常规用法需要使用 protoc 将 .proto 编译成 .pb.h 和 .pb.cc,这样做效率非常高,但是耦合性也很高.在某些追求通用性而不追求性能 ...

  8. 【LeetCode】1166. Design File System 解题报告 (C++)

    作者: 负雪明烛 id: fuxuemingzhu 个人博客:http://fuxuemingzhu.cn/ 目录 题目描述 题目大意 解题方法 字典 目录树 日期 题目地址https://leetc ...

  9. Monkey工具之fastbot-iOS实践

    Monkey工具之fastbot-iOS实践 背景 目前移动端App上线后 crash 率比较高, 尤其在iOS端.我们需要一款Monkey工具测试App的稳定性,更早的发现crash问题并修复. 去 ...

  10. HDFS源码解析:教你用HDFS客户端写数据

    摘要:终于开始了这个很感兴趣但是一直觉得困难重重的源码解析工作,也算是一个好的开端. 本文分享自华为云社区<hdfs源码解析之客户端写数据>,作者: dayu_dls. 在我们客户端写数据 ...