简体   繁体   English

Android SDK入门所需的最低包

[英]Minimum Packages needed to get started, Android SDK

There's a limit to which I can download Packages. 我可以下载包的限制。

So can anyone explain that what will be the essential components that must be downloaded in order to get started with sdk or to just make it work fine. 因此,任何人都可以解释为什么必须下载的基本组件才能开始使用sdk或者只是让它工作正常。

I am searching for the minimal components to be downloaded. 我正在搜索要下载的最小组件。

When I launch SDK manager it shows up a list showing various packages, Very First Android 6.0 API contains lot's of other packages within, So of them which Packages are must to install. 当我启动SDK管理器时,它会显示一个显示各种软件包的列表,Very First Android 6.0 API包含很多其他软件包,因此需要安装哪些软件包。

The packages that has been installed are, 已安装的软件包是, 在此输入图像描述

The thing that's confusing me, is this list of packages: 令我困惑的是这个包列表: 在此输入图像描述

So Question, Which are mandatory to get started? 那么问题,哪些是强制入门的?

By default, the Android SDK does not include everything you need to start developing. 默认情况下,Android SDK不包含开始开发所需的所有内容。 The SDK separates tools, platforms, and other components into packages you can download as needed using the Android SDK Manager. SDK将工具,平台和其他组件分离为可以根据需要使用Android SDK Manager下载的软件包。 So before you can start, there are a few packages you should add to your Android SDK. 因此,在开始之前,您应该向Android SDK添加一些软件包。

As a minimum when setting up the Android SDK, you should download the latest tools and Android platform: 在设置Android SDK时,至少应该下载最新的工具和Android平台:

Open the Tools directory and select: 打开Tools目录并选择:

  1. Android SDK Tools Android SDK工具
  2. Android SDK Platform-tools Android SDK平台工具
  3. Android SDK Build-tools (highest version) Android SDK Build-tools(最高版本)

Open the first Android XX folder (the latest version) and select: 打开第一个Android XX文件夹(最新版本)并选择:

SDK Platform A system image for the emulator , such as ARM EABI v7a System Image SDK Platform A system image for the emulator ,例如ARM EABI v7a System Image

For more details you should read official documents Adding SDK Packages .I hope it will helps you . 有关更多详细信息,请阅读官方文档 添加SDK包 。我希望它能帮助您。

Here list of packages you must install for the proper functioning. 这里必须安装的软件包列表才能正常运行。

Latest version of : 最新版本:

  • Android SDK Tools Android SDK工具
  • Android SDK Platform-tools Android SDK平台工具
  • Android SDK Build-tools Android SDK Build-tools

Based on your application you can what all API needed. 根据您的应用程序,您可以获得所需的所有API。

Important things download from API(XX) -(Android XX) packages are. 从API(XX) - (Android XX)软件包下载重要的东西。

  • SDK Platform SDK平台
  • if you are testing application using emulator then download the System Image , such as ARM EABI v7a System Image, Intel x86 Atom System Image (no need to download System Image for TV and Wear). 如果您使用模拟器测试应用程序,则下载系统映像 ,例如ARM EABI v7a系统映像,Intel x86 Atom系统映像 (无需下载电视和磨损系统映像)。

For more detailed explanation Adding SDK Packages 有关添加SDK包的更详细说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM