Android SDK 和 ADT 的安装及配置详解

Installing the SDK安装SDK
Previous以前Next下一个
You should have already downloaded the你应该已经下载了Android SDKAndroid SDK. 。Now you need to set up your development environment.现在您需要设置开发环境。
The SDK you've downloaded is not the complete SDK environment. 你已经下载SDK是不完整的SDK环境。It includes only the core SDK tools, which you can use to download the rest of the SDK packages (such as the latest system image).它只包含核心SDK工具,您可以使用它来下载其余SDK包(如最新的系统映像)。
Getting started on Windows开始在Windows
Your download package is an executable file that starts an installer. 你的下载包是一个可执行文件,开始一个安装程序。The installer checks your machine for required tools, such as the proper Java SE Development Kit (JDK) and installs it if necessary. 安装程序检查您的机器所需的工具,android模拟器���适当的Java SE开发工具包(JDK)并安装它,如果必要的。The installer th
en saves the Android SDK Tools into a default location (or you can specify the location).安装Android SDK工具然后保存成一个默认的位置(或者你可以指定位置)。
Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.记下的名称和位置SDK目录在你的系统,你需要参阅SDK目录后,当设置ADT插件,当使用SDK工具从命令行。
Once the tools are installed, the installer offers to start the Android SDK Manager. 一旦工具安装,安装程序提供了启动Android SDK经理。Start it and continue with the installation guide by clicking the Next link on the right.启动它并继续安装指南通过点击右边的下一个链接。
Getting started on Mac开始在Mac
Your download package is你的下载包 .zip. 。Unpack it to a safe location on your machine. 将其解压缩到一个安全的位置在您的机器上。By default, the SDK files are unpacked into a directory named默认情况下,SDK文件解压到一个目录命名 android-sdk-mac_x86.
Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.记下的名称和位置SDK目录在你的系统,你需要参阅SDK目录后,当设置ADT插件,当使用SDK工具从命令行。
Now continue with the installation guide by clicking the Next link on the right.现在继续安装指南通过点击右边的下一个链接。
Getting started on Linux开始在Linux上
Your download package is a你的下载包是一个 .tgz. 。Unpack it to a safe location on your machine. 将其解压缩到一个安全的位置在您的机器上。By default, the SDK files are unpacked into a directory named默认情况下,SDK文件解压到一个目录命名 android-sdk-linux_x86.
Make a note of the name and location of the SDK directory on your system—you will need to refer to the SDK directory later, when setting up the ADT plugin and when using the SDK tools from the command line.记下的名称和位置SDK目录在你的系统,你需要参阅SDK目录后,当设置ADT插件,当使用SDK工具从命令行。
Now continue with the installation guide by clicking the Next link on the right.现在继续安装指南通过点击右边的下一个链接。
Troubleshooting Ubuntu故障排除Ubuntu
If you need help installing and configuring Java on your development machine, you might find these resources helpful:如果你需要帮助安装和配置Java开发机器上,您可能会发现这些资源有帮助:
o help.ubuntu/community/Javahelp.ubuntu/community/Java
o help.ubuntu/community/JavaInstallationhelp.ubuntu/community/JavaInstallation
Here are the steps to install Java and Eclipse, prior to installing the Android SDK and ADT Plugin.执行以下步骤来安装Java和Eclipse之前,安装Android SDK和ADT插件。
1. If you are running a 64-bit distribution on your development machine, you need to install the如果您正在运行一个64位的分布开发机器上,您需要安装 ia32-libspackage using包使用 apt-get::
apt-get install ia32-libs
2. Next, install Java:接下来,安装Java:
apt-get install sun-java6-jdk
3. The Ubuntu package manager does not currently offer an Eclipse 3.6 version for download, so we recommend that you download Eclipse (Ubuntu软件包管理器当前没有提供一个Eclipse 3.6版本下载,因此我们建议您从下载Eclipse(/ downloads//下载/). )。A Java or RCP version of Eclipse is recommended.一个Java或Eclipse RCP版的建议。
4. Follow the steps given in previous sections to install the SDK and the ADT plugin.按照前一节中给出的步骤来安装SDK和ADT插件。
Other platforms其他平台
Adding Platforms and Packages添加平台和包
Previous以前Next下一个
The Android SDK separates tools, platforms, and other components into packages you can download using the Android SDK Manager. Android SDK将工具、平台和其他组件包你可以下载使用Android SDK经理。The original SDK package you've downloaded includes only the SDK Tools. 原始SDK包你已经下载仅包括SDK工具。To develop an Android app, you also need to download at least one Android platform and the latest SDK Platform-tools.开发Android应用程序,您还需要下载至少一个Android平台和最新SDK平台工具。
You can update and install SDK packages at any time using the Android SDK Manager.你可以更新和安装SDK包在任何时候使用Android SDK经理。
If you've used the Windows installer to install the SDK tools, you should already have the Android SDK Manager open. 如果你使用Windows安装程序来安装SDK工具,您应该已经有了Android SDK管理器打开。Otherwise, you can launch the Android SDK Manager in one of the following ways:否则,您可以启动Android SDK经理在以下几个方面:

本文发布于:2024-09-23 01:20:17,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/4/358116.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:安装   工具   目录   需要
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议