From f0235423ae734ff533e5ef099b720c37b6f2c58e Mon Sep 17 00:00:00 2001
From: Rich Slogar The Android SDK separates tools, platforms, and other components into packages you can
- download using the SDK Manager. For example, when the SDK Tools are updated or a new version of
-the Android platform is released, you can use the SDK Manager to quickly download them to
-your environment. 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: You can launch the SDK Manager in one of the following ways: You can select which packages you want to download by toggling the checkboxes on the left, then
-click Install to install the selected packages. 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. Figure 1. The Android SDK Manager shows the
-SDK packages that are available, already installed, or for which an update is available. 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 OK
+to 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
+( 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
@@ -33,8 +62,6 @@ once you download them. Here's an outline of the packages required and those we recommend you use:
@@ -42,25 +69,32 @@ once you download them. To get started, download the latest Android version, plus the lowest version you plan
- to support (we recommend Android 2.2 for your lowest version). 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. Tip: For easy access to the SDK tools from a command line, add the
location of the SDK's The above list is not comprehensive and you can add new sites to download additional packages from third-parties.
+
-
-SDK Manager.exe file at the root of the Android
-SDK directory.tools/ directory in the
-location where the Android SDK is installed, then execute android sdk.
)
+ in the menu bar.
-
)
+also appears next
+to the checkbox to indicate the pending update. An update icon
+(
) appears next to the checkbox to
+indicate pending removals.
+Recommended Packages
+
+ tools/ and
@@ -82,74 +119,40 @@ location of the SDK's tools/ and
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 that you download any +address. The Android SDK Manager also enforces dependencies by requiring any packages that are needed by those you have selected.
- -By default, Available Packages displays packages available from the -Android Repository and Third party Add-ons. You can add other sites that host -their own Android SDK add-ons, then download the SDK add-ons -from those 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 under Third party Add-ons.
+available as a third-party add-on.If a carrier or device manufacturer has hosted an SDK add-on repository file -on their web site, follow these steps to add their site to the Android SDK -Manager:
+on their website, follow these steps to add their site to the Android SDK Manager:repository.xml file. Click OK.add-on site.Any SDK packages available from the site will now be listed under a new item named -User Add-ons.
- - - - -Problems connecting to the SDK repository
- -If you are using the Android SDK Manager to download packages and are encountering -connection problems, try connecting over http, rather than https. To switch the -protocol used by the Android SDK Manager, follow these steps:
- -Any SDK packages available from the site appear in the SDK Platforms or +SDK Tools tabs.
-- cgit v1.1