SDK Manager

Wesley13
• 阅读 1311

The Android SDK Manager separates the SDK tools, platforms, and other components into packages for easy access and management. You can also customize which sites the SDK Manager checks for new or updated SDK packages and add-on tools. For example, you can configure the SDK Manager to automatically check for updates and notify you when an installed SDK Tools package is updated. When you receive such a notification, you can then quickly decide whether to download the changes.

By default, Android Studio does not check for Android SDK updates. To enable automatic Android SDK checking:

  1. Choose File > Settings    > Appearance & Behavior > System Settings    > Updates.

  2. Check the Automatically check updates for Android SDK checkbox and select an    update channel.

  3. Click OK or Apply to enable the update checking.

You can launch the SDK Manager in one of the following ways:

  • From the Android Studio File menu:  File >    Settings > Appearance & Behavior >    System Settings > Android SDK.

  • From the Android Studio Tools menu: Tools >    Android > SDK Manager.

  • From the SDK Manager icon    ()    in the menu bar.

Tip: The standalone SDK Manager is still available from the command line, but we recommend it only for use with Eclipse ADT and standalone SDK installations.

By default, the SDK Manager installs the latest packages and tools. Click the checkbox next to each additional SDK platform and tool that you want to install. Clear the checkbox to uninstall a SDK platform or tool. Click Apply or OKto update the packages and tools.

Tip: When an update is available for an installed package, a hyphen (-) appears in the checkbox next to the package. A download icon () also appears next to the checkbox to indicate the pending update. An update icon () appears next to the checkbox to indicate pending removals.

Click the SDK Update Sites tab to manage which SDK sites Android Studio checks for tool and add-on updates.

Figure 1. The Android SDK Manager shows the SDK platforms and packages that are available and installed along with the SDK update sites.

There are several different packages available for the Android SDK. The table below describes most of the available packages and where they're located in your SDK directory once you download them.


Here's an outline of the packages required and those we recommend you use:

  • SDK Tools

  • Required. Your new SDK installation installs the latest version. Be sure    to respond to the Android Studio update prompts to keep your SDK Tools up-to-date.

  • SDK Platform-tools

  • Required. Your new SDK installation installs the latest stable version.    Be sure to respond to the Android Studio update prompts to keep your SDK Platform-tools    up-to-date.

  • SDK Platform

  • Required. At least one platform is required in your environment so you're able to compile your application. In order to provide the best user experience on the latest devices, we recommend that you use the latest platform version as your build target. You'll still be able to run your app on older versions, but you must build against the latest version in order to use new features when running on devices with the latest version of Android.

    The SDK Manager downloads the latest Android version. It also downloads the earliest version  of Android (Android 2.2 (API level 8)) that we recommend that your app support.

  • System Image

  • Recommended. Although you might have one or more Android-powered devices on which to test your app, it's unlikely you have a device for every version of Android your app supports. It's a good practice to download system images for all versions of Android your app supports and test your app running on them with theAndroid emulator. Each SDK platform package contains the supported system images. Click Show Package Details to display the available system images for each available platform. You can also download system images when creating Android Virtual Devices (AVDs) in theAVD Manager.

  • Android Support Library

  • Recommended. Includes a static library that allows you to use some of the latest Android APIs (such as fragments, plus others not included in the framework at all) on devices running a platform version as old as Android 1.6. All of the activity templates available when creating a new project with the ADT Pluginrequire this. For more information, read Support Library.

  • Android Support Repository

  • Recommended. Includes local Maven repository for Support libraries.

  • Google Play services

  • Recommended. Includes Google Play services client library and sample code.

  • Google Repository

  • Recommended. Includes local Maven repository for Google libraries.

Tip: For easy access to the SDK tools from a command line, add the location of the SDK's tools/ andplatform-tools to your PATH environment variable.

The above list is not comprehensive and you can add new sites to download additional packages from third parties.

In some cases, an SDK package may require a specific minimum revision of another package or SDK tool. The development tools will notify you with warnings if there is dependency that you need to address. The Android SDK Manager also enforces dependencies by requiring any packages that are needed by those you have selected.

Adding New Sites


The SDK Update Sites tab displays the sites that Android Studio checks for Android SDK and third-party updates. You can add other sites that host their own Android SDK add-ons, then download the SDK add-ons from those sites.

For example, a mobile carrier or device manufacturer might offer additional API libraries that are supported by their own Android-powered devices. In order to develop using their libraries, you must install their Android SDK add-on, if it's not already available as a third-party add-on.

If a carrier or device manufacturer has hosted an SDK add-on repository file on their website, follow these steps to add their site to the Android SDK Manager:

  1. Click the SDK Update Sites tab.

  2. Click the Add icon in the tools area and enter the name and URL of the    add-on site.

  3. Click OK.

  4. Make sure the checkbox is checked in the Enabled column.

  5. Click OK or Apply.

Any SDK packages available from the site appear in the SDK Platforms or_SDK Tools_ tabs

点赞
收藏
评论区
推荐文章
blmius blmius
3年前
MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1
文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s
Easter79 Easter79
3年前
swap空间的增减方法
(1)增大swap空间去激活swap交换区:swapoff v /dev/vg00/lvswap扩展交换lv:lvextend L 10G /dev/vg00/lvswap重新生成swap交换区:mkswap /dev/vg00/lvswap激活新生成的交换区:swapon v /dev/vg00/lvswap
皕杰报表之UUID
​在我们用皕杰报表工具设计填报报表时,如何在新增行里自动增加id呢?能新增整数排序id吗?目前可以在新增行里自动增加id,但只能用uuid函数增加UUID编码,不能新增整数排序id。uuid函数说明:获取一个UUID,可以在填报表中用来创建数据ID语法:uuid()或uuid(sep)参数说明:sep布尔值,生成的uuid中是否包含分隔符'',缺省为
待兔 待兔
5个月前
手写Java HashMap源码
HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22
Jacquelyn38 Jacquelyn38
3年前
2020年前端实用代码段,为你的工作保驾护航
有空的时候,自己总结了几个代码段,在开发中也经常使用,谢谢。1、使用解构获取json数据let jsonData  id: 1,status: "OK",data: 'a', 'b';let  id, status, data: number   jsonData;console.log(id, status, number )
Wesley13 Wesley13
3年前
Java获得今日零时零分零秒的时间(Date型)
publicDatezeroTime()throwsParseException{    DatetimenewDate();    SimpleDateFormatsimpnewSimpleDateFormat("yyyyMMdd00:00:00");    SimpleDateFormatsimp2newS
Wesley13 Wesley13
3年前
mysql设置时区
mysql设置时区mysql\_query("SETtime\_zone'8:00'")ordie('时区设置失败,请联系管理员!');中国在东8区所以加8方法二:selectcount(user\_id)asdevice,CONVERT\_TZ(FROM\_UNIXTIME(reg\_time),'08:00','0
Wesley13 Wesley13
3年前
00:Java简单了解
浅谈Java之概述Java是SUN(StanfordUniversityNetwork),斯坦福大学网络公司)1995年推出的一门高级编程语言。Java是一种面向Internet的编程语言。随着Java技术在web方面的不断成熟,已经成为Web应用程序的首选开发语言。Java是简单易学,完全面向对象,安全可靠,与平台无关的编程语言。
Stella981 Stella981
3年前
Django中Admin中的一些参数配置
设置在列表中显示的字段,id为django模型默认的主键list_display('id','name','sex','profession','email','qq','phone','status','create_time')设置在列表可编辑字段list_editable
Wesley13 Wesley13
3年前
MySQL部分从库上面因为大量的临时表tmp_table造成慢查询
背景描述Time:20190124T00:08:14.70572408:00User@Host:@Id:Schema:sentrymetaLast_errno:0Killed:0Query_time:0.315758Lock_
Python进阶者 Python进阶者
11个月前
Excel中这日期老是出来00:00:00,怎么用Pandas把这个去除
大家好,我是皮皮。一、前言前几天在Python白银交流群【上海新年人】问了一个Pandas数据筛选的问题。问题如下:这日期老是出来00:00:00,怎么把这个去除。二、实现过程后来【论草莓如何成为冻干莓】给了一个思路和代码如下:pd.toexcel之前把这