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]REVERSE——[V&N2020 公开赛]strangeCpp

    [V&N2020 公开赛]strangeCpp 附加 步骤 查壳,无壳,64位程序 64位ida载入,没有main函数,根据程序里的字符串,去查看函数 __int64 __fastcall s ...

  2. LuoguB2030 计算线段长度 题解

    Content 已知线段的两个端点的坐标 \(A(X_a,Y_a),B(X_b,Y_b)\) ,求线段 \(AB\) 的长度. 数据范围:\(|X_a|,|Y_a|,|X_b|,|Y_b|\leqsl ...

  3. LuoguP6857 梦中梦与不再有梦 题解

    Update \(\texttt{2020.10.20}\) 增加了证明.感谢@东北小蟹蟹(dbxxxqwq)的提醒. Content 有一个 \(n\) 个点的无向图,每两个点之间都有一条边直接相连 ...

  4. SpringBoot整合MQTT (使用官方demo)

    依赖 <dependency> <groupId>org.eclipse.paho</groupId> <artifactId>org.eclipse. ...

  5. JAVA中Map集合遍历

    for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println("key= " ...

  6. c++读取文件操作和写入文件

    在C++中与读取文件和写入文件简单操作有关的类分别有ifstream(文件读入).ofstream(文件写出).fstream (文件读入和写出). 名称 作用 ifstream 文件读入 ofstr ...

  7. c++内存分布之纯虚函数

    关于 本文演示环境:VS2017+32位程序. 纯虚函数是一种特殊的虚函数.可以预测到:虚函数的结论同样适用纯虚函数,但是纯虚函数是一种特殊的存在,还是看看实际结果. 代码写的不够规范: 因为任何带虚 ...

  8. hdu-5569matrix(dp)

    http://acm.hdu.edu.cn/showproblem.php?pid=5569; 题目意思: 从(1,1)点出发只能向右和向下走,到达(n,n)点时所得到的价值最小, 价值是Let th ...

  9. Docker 与 K8S学习笔记(八)—— 自定义容器网络

    我们在上一篇中介绍了Docker中三种网络,none.host和bridge,除了这三种网络,Docker还允许我们创建自定义网络,当我们要创建自定义网络时,Docker提供了三种网络驱动供我们选择: ...

  10. MacOS使用Docker创建MySQL主从数据库

    一.拉取MySQL镜像 通过终端获取最新的MySQL镜像 docker pull mysql/mysql-server 二.创建MySQL数据库容器配置文件对应目录 我们在当前用户下创建一组目录,用来 ...