Android Studio中的Sdk manager介绍

来源:互联网 发布:java官网下载旧版jdk 编辑:程序博客网 时间:2024/06/05 08:14

原文:https://developer.android.com/studio/intro/update.html#sdk-manager

Update the IDE and SDK Tools



【用途】 用于跟新 Android Studio程序

1. Android Studio 版本跟新的4种Channel(渠道)
• Canary Channel: These are bleeding-edge releases, updated roughly weekly. Although these builds are subject to more bugs, they do get tested and we want to offer early access so you can try new features and provide feedback. This channel is not recommended for production development.
• Dev Channel: These are hand-picked canary builds that survived a full round of internal testing.
• Beta Channel: These are release candidates based on stable canary builds, released to get feedback before going into the stable channel.
• Stable Channel: The official stable release that is available for download at developer.android.com/studio.

2.Anroid Studio 中的SDK manager工具

2.1 路径: Tools -> Android -> SDK Manager


3.Androi Studio SDK Manager 下载中 每个工具的作用

3.1
Android SDK Build-Tools
Required. Android SDK Build-Tools is a component of the Android SDK required for building Android apps. It's installed in the <sdk>/build-tools/ directory.

Android SDK Platform-Tools
Required. Includes various tools required by the Android platform, including the adb tool.

Android SDK Tools
Android SDK Tools is a component for the Android SDK. It includes the complete set of development and debugging tools for Android. It is included with Android Studio.

Android Emulator
Recommended. A QEMU-based device-emulation tool that you can use to debug and test your applications in an actual Android runtime environment. See the Android Emulator Release Notes.

Support Repository
Recommended. Includes local Maven repository for Support libraries, which provide an extended set of APIs that are compatible with most versions of Android. It's required for products such as Android Wear, Android TV, and Google Cast. Also included are libraries for Google APIs that provide a variety of services such as Firebase, Google Maps, Games achievements and leaderboards, and much more.

3.2Android 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, 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.

3.2.1 Intel or ARM System Images
Note: If you plan to use APIs from Google Pla
For example, a mobile carrier or device manufacturer might offer additional API libraries that are supported by their own Android-powered devices. To develop using their libraries, you can install their Android SDK package by adding their SDK tools URL to the SDK Manager in the SDK Update Sites.y services, you must use the Google APIs System Image.


4.Edit or add SDK tool sites

To manage which SDK sites Android Studio checks for Android tools and third party tool updates, click the SDK Update Sites tab. You can add other sites that host their own tools, then download the packages 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. To develop using their libraries, you can install their Android SDK package by adding their SDK tools URL to the SDK Manager in the SDK Update Sites.
原创粉丝点击