Android studio android sdk was installed to

Содержание
  1. Installing the Android SDK
  2. How to Install Android SDK Tools
  3. What is Android SDK
  4. Android SDK Manager
  5. Android SDK Location
  6. SDK Platforms
  7. SDK Tools
  8. SDK Update Sites
  9. How to install the Android SDK
  10. Summary
  11. SDK Platform Tools release notes
  12. Downloads
  13. Revisions
  14. 31.0.3 (August 2021)
  15. 31.0.2 (April 2021)
  16. 31.0.1 (March 2021)
  17. 31.0.0 (February 2021)
  18. 30.0.5 (November 2020)
  19. 30.0.4 (July 2020)
  20. 30.0.3 (June 2020)
  21. 30.0.2 (June 2020)
  22. 30.0.1 (May 2020)
  23. 30.0.0 (April 2020)
  24. 29.0.6 (February 2020)
  25. 29.0.5 (October 2019)
  26. 29.0.4 (September 2019)
  27. 29.0.3 (September 2019)
  28. 29.0.2 (July 2019)
  29. 29.0.1 (June 2019)
  30. 29.0.0 (June 2019)
  31. 28.0.2 (March 2019)
  32. 28.0.1 (September 2018)
  33. 28.0.0 (June 2018)
  34. 27.0.1 (December 2017)
  35. 27.0.0 (December 2017)
  36. 26.0.2 (October 2017)
  37. 26.0.1 (September 2017)
  38. 26.0.0 (June 2017)
  39. 25.0.5 (April 24, 2017)
  40. 25.0.4 (March 16, 2017)
  41. 25.0.3 (December 16, 2016)
  42. 25.0.2 (December 12, 2016)
  43. 25.0.1 (November 22, 2016)
  44. 25.0.0 (October 19, 2016)
  45. 24.0.4 (October 14, 2016)
  46. Download Android SDK Platform-Tools
  47. Terms and Conditions
  48. 1. Introduction
  49. 2. Accepting this License Agreement
  50. 3. SDK License from Google
  51. 4. Use of the SDK by You
  52. 5. Your Developer Credentials
  53. 6. Privacy and Information
  54. 7. Third Party Applications
  55. 8. Using Android APIs
  56. 9. Terminating this License Agreement
  57. 10. DISCLAIMER OF WARRANTIES
  58. 11. LIMITATION OF LIABILITY
  59. 12. Indemnification
  60. 13. Changes to the License Agreement
  61. 14. General Legal Terms
  62. Download Android SDK Platform-Tools
  63. Terms and Conditions
  64. 1. Introduction
  65. 2. Accepting this License Agreement
  66. 3. SDK License from Google
  67. 4. Use of the SDK by You
  68. 5. Your Developer Credentials
  69. 6. Privacy and Information
  70. 7. Third Party Applications
  71. 8. Using Android APIs
  72. 9. Terminating this License Agreement
  73. 10. DISCLAIMER OF WARRANTIES
  74. 11. LIMITATION OF LIABILITY
  75. 12. Indemnification
  76. 13. Changes to the License Agreement
  77. 14. General Legal Terms
  78. Download Android SDK Platform-Tools

Installing the Android SDK

Android Studio provides everything you need to start developing apps for Android, including the Android Studio IDE and the Android SDK tools.

If you didn’t download Android Studio, go download Android Studio now, or switch to the stand-alone SDK Tools install instructions.

Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher. To check if you have JDK installed (and which version), open a terminal and type javac -version . If the JDK is not available or the version is lower than 6, go download JDK.

To set up Android Studio on Windows:

  1. Launch the .exe file you just downloaded.
  2. Follow the setup wizard to install Android Studio and any necessary SDK tools.

On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.

Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21 .

The individual tools and other SDK packages are saved outside the Android Studio application directory. If you need to access the tools directly, use a terminal to navigate to the location where they are installed. For example:

To set up Android Studio on Mac OSX:

  1. Unzip the downloaded zip file, android-studio-ide- -mac.zip .
  2. Drag and drop Android Studio into the Applications folder.
  3. Open Android Studio and follow the setup wizard to install any necessary SDK tools.

Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, go to System Preferences > Security & Privacy and under Allow applications downloaded from, select Anywhere. Then open Android Studio again.

  • Follow the links to install the SDK outside of the Android Studio directories.
  • The individual tools and other SDK packages are saved outside the Android Studio application directory. If you need access the tools directly, use a terminal to navigate into the location where they are installed. For example:

    To set up Android Studio on Linux:

    1. Unpack the downloaded Tar file, android-studio-ide- -linux.zip , into an appropriate location for your applications.
    2. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh .

    You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.

    If the SDK is not already installed, follow the setup wizard to install the SDK and any necessary SDK tools.

    Note: You may also need to install the ia32-libs, lib32ncurses5-dev, and lib32stdc++6 packages. These packages are required to support 32-bit apps on a 64-bit machine.

    Android Studio is now ready and loaded with the Android developer tools, but there are still a couple packages you should add to make your Android SDK complete.

    The stand-alone SDK Tools package does not include a complete Android development environment. It includes only the core SDK tools, which you can access from a command line or with a plugin for your favorite IDE (if available).

    If you didn’t download the SDK tools, go download the SDK now, or switch to the Android Studio install instructions.

    To get started on 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. The installer then saves the Android SDK Tools to a specified the location outside of the Android Studio directories.

    1. Double-click the executable ( .exe file) to start the install.
    2. Make a note of the name and location where you save the SDK on your system—you will need to refer to the SDK directory later when using the SDK tools from the command line.
    3. Once the installation completes, the installer starts the Android SDK Manager.

    To get started on Mac OSX:

    Unpack the ZIP file you’ve downloaded. By default, it’s unpacked into a directory named android-sdk-mac_x86 . Move it to an appropriate location on your machine, such as a «Development» directory in your home directory.

    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 using the SDK tools from the command line.

    To get started on Linux:

    Unpack the .zip file you’ve downloaded. The SDK files are download separately to a user-specified directory.

    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 using the SDK tools from the command line.

    Troubleshooting Ubuntu
    • If you need help installing and configuring Java on your development machine, you might find these resources helpful:
      • https://help.ubuntu.com/community/Java
      • https://help.ubuntu.com/community/JavaInstallation
    • Here are the steps to install Java:
      1. If you are running a 64-bit distribution on your development machine, you need to install additional packages first. For Ubuntu 13.10 (Saucy Salamander) and above, install the libncurses5:i386 , libstdc++6:i386 , and zlib1g:i386 packages using apt-get :

        For earlier versions of Ubuntu, install the ia32-libs package using apt-get :

        The Android SDK tools are now ready to begin developing apps, but there are still a couple packages you should add to make your Android SDK complete.

        Then, select which SDK bundle you want to install:

        Источник

        How to Install Android SDK Tools

        To Develop Android-based Apps, you will need to Install Android SDK. In this How to Install Android SDK Tools, we will learn what is Android SDK is and how to install the Android SDK using Android Studio. First, we will learn about the Android SDK Manager GUI to manage the SDK. We will find out how to find out the SDK location, various components of SDK like SDK Platforms, SDK Tools, Build Tools, Platform-tools, System Images, Emulators, etc. Finally, we will show you how to install the Android SDK.

        Table of Contents

        What is Android SDK

        The Android Software Development Kit (SDK) is a set of development tools, which is needed to develop Android-based applications.

        We can create Android Apps in many ways. You can make use of Java or Kotlin or use frameworks like Ionic, NativeScript or React Native. But whichever tools you use the Android SDK is a must.

        The Android SDK comes with the required tools to build Android apps. Using the SDK you can install the app in the device and access the features provided by the OS. The SDK also comes with tools to debug the application. The Android emulator allows you to test apps in different types of devices, without needing to buy one.

        The Android SDK comes in various versions. Each new release of Android OS is accompanied by a new SDK version or API Version. For Example, the latest Android Pie ( or Android 9 ) has a corresponding SDK API version of 28. You can refer to the SDK Platform release notes to find out the more details about each release

        Android SDK Manager

        The Android SDK Manager helps us download & manage the Android SDK. It makes it very easier to search for updates, install and remove the older unused SDK’s easily

        The SDK Manager is part of the Android Studio and installed along with it. Hence, you need to install it first. Refer to our tutorial How to download & install the Android Studio tutorial.

        You can open the SDK Manager by clicking on Menu Option Tools -> SDK Manager ( or Tools -> Android -> SDK Manager in older versions of Android Studio). You can also click on the icon in the tool bar as shown in image below

        Locating the Android SDK Manager in Android Studio

        The Following is the image of the Android SDK Manager

        Android SDK Manager

        In the lefthand side pane, you have to select Android SDK under Appearance & behavior -> System Settings

        Android SDK Location

        The Android SDK path is usually C:\Users\ \AppData\Local\Android\sdk as shown in the image above. But you can change it by clicking on the edit link.

        The SDK Location is very important if you are using NativeScript or ionic, For NativeScript to pick up the SDK you need to define the ANDROID_HOME environment variable. While the ionic expects ANDROID_SDK_ROOT environment variable to point to the SDK path.

        The SDK Manager contains three tabs. They are SDK Platforms SDK Tools & SDK Update Sites.

        SDK Platforms

        This tab contains the list of Android SDKs. The SDKs are a must if you want to develop apps targeting the Android Platform. Each new version of Android comes with its own SDK version ( API level and a revision).

        Under each API, there are a few different types of files, which are displayed only if you select show package details option. They are shown in the image below.

        Android SDK Platform:
        This file is required to compile and run the Android Application. At least one SDK Platform must be installed. Always use the latest SDK version, when developing the App. You are still able to run the App on the older versions of Android.

        Sources for Android package:
        The source files for the platform, contain metadata about the SDK Platform and is helpful when debugging the android App. Always install the corresponding sources when installing the SDK Platform

        System Image packages:
        These are used by the Android Emulators to run the App in Emulator. Each SDK platform version contains a list of supported system images. You must select an image based on your computer Processor. You can also install them when you are creating the Android Virtual Devices (AVDs) using the AVD Manager.

        SDK Tools

        This tab contains the set of development and debugging tools for the Android SDK

        Android SDK Build-Tools: Required
        This contains the tools required to build Android Apps. You must install this package. See the Android SDK Build tools release notes.

        Android SDK Platform-Tools: Required
        This contains the tools required by the Android platform. The tools like ADB (Android Debug Bridge) are part of the Platform-tools. This package is required. See the Android SDK Platform Release notes

        Android SDK Tools: Required
        This tool includes essential tools such as ProGuard etc. See the SDK Tools Release Notes.

        Android Emulator: Recommended
        The Android Emulator was part of the Android SDK Tools up to version 25.2. Now they are available to install separately. You need an Emulator to debug and test your applications in an Emulated Android Runtime. See the Android Emulator release notes.

        SDK Update Sites

        This tab lists the Android & third party sites, where Android Studio looks for the update. You can add other sites to the list and download the packages from those sites as well.

        SDK Update sites. List of sites where Android Looks for Updates.

        If you are behind a proxy server, then remember to setup the proxy server from the HTTP Proxy option.

        How to install the Android SDK

        To Install a new SDK click the checkbox, Similarly to update an SDK. Whenever an update is available a dash appears in the checkbox next to the package. The status field shows the current installation status of the SDK.

        To remove or uninstall a package, unselect the checkbox

        Click on the Apply or OK button to begin the installation.

        Next, you may be asked to accept the License Terms and then the installation begins. Installation takes some time to complete depending on the no of packages you have selected.

        Once done, click on Finish. Now the Android SDK is successfully installed.

        Summary

        In this How to Install Android SDK Tutorial, we learned what is Android SDK is and how to install/update it using Android SDK, We also learned a few things about SDK Platform, SDK Tools, SDK Platform build tools, SDK Build Tools, System Images, etc.

        Источник

        SDK Platform Tools release notes

        Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, such as adb , fastboot , and systrace . These tools are required for Android app development. They’re also needed if you want to unlock your device bootloader and flash it with a new system image.

        Although some new features in these tools are available only for recent versions of Android, the tools are backward compatible, so you need only one version of the SDK Platform-Tools.

        Downloads

        If you’re an Android developer, you should get the latest SDK Platform-Tools from Android Studio’s SDK Manager or from the sdkmanager command-line tool. This ensures the tools are saved to the right place with the rest of your Android SDK tools and easily updated.

        But if you want just these command-line tools, use the following links:

        • Download SDK Platform-Tools for Windows
        • Download SDK Platform-Tools for Mac
        • Download SDK Platform-Tools for Linux

        Although these links do not change, they always point to the most recent version of the tools.

        Revisions

        31.0.3 (August 2021)

        • fastboot
          • Support flashing vbmeta_vendor.img for fastboot flashall / update.

        31.0.2 (April 2021)

        • adb
          • Support forwarding to vsock on linux.
          • Fix bug in adb track-devices where devices over wireless debugging wouldn’t immediately receive updates.
          • Implement preliminary support for mDNS device discovery without a separately installed mDNS service. This is currently disabled by default, and can be enabled by setting the environment variable ADB_MDNS_OPENSCREEN to 1 when starting the adb server.
        • fastboot
          • Don’t fail when unable to get boot partition size.
          • Derive device locked state from property instead of parsing the kernel command line.

        31.0.1 (March 2021)

        • adb
          • Reduce TCP keepalive interval.
          • Improve incremental installation performance.
        • fastboot
          • Add support for compressed snapshot merges.
          • Restore legacy A/B support.

        31.0.0 (February 2021)

        • adb
          • Disable compression on pull by default.

        30.0.5 (November 2020)

        • adb
          • Improve performance of adb push when pushing many files over a high-latency connection.
          • Improve adb push/pull performance on Windows.
          • Fix adb push —sync with multiple inputs.
          • Improve performance of incremental apk installation.
          • Improve error handling for incremental apk installation.

        30.0.4 (July 2020)

        • adb
          • Fix fallback to non-incremental apk installation on pre-Android 11 devices.
          • Fix adb install-multi-package .
          • Fix some more crashes related to adb wireless pairing.
          • Improve some error messages.
        • fastboot
          • Improve console output on fastboot oem commands.
          • Fix fastboot flashall on older devices such as Nexus 7.

        30.0.3 (June 2020)

        • adb
          • Fix installation of APKs signed with v4 signature scheme on pre-Android 11 devices.
          • Fix crash when authenticating without ADB_VENDOR_KEYS .
          • Fix crash when using adb -H .

        30.0.2 (June 2020)

        • adb
          • Improve adb wireless pairing.
          • Fix hang in adb logcat when run before a device is connected.
          • Add adb transport-id to allow scripts to safely wait for a device to go away after root/unroot/reboot.

        30.0.1 (May 2020)

        • adb
          • Disable adb mdns auto-connection by default. This can be reenabled with the ADB_MDNS_AUTO_CONNECT environment variable.
          • Improve performance of adb install-multi on Android 10 or newer devices.
          • Fix timeout when using adb root/unroot on a device connected over TCP.
          • Update support for wireless pairing.

        30.0.0 (April 2020)

        • adb
          • Add initial support for wireless pairing.
          • Add support for incremental APK installation.
          • Implement client-side support for compression of adb when used with an Android 11 device.
          • Improve performance of adb push on high-latency connections.
          • Improve push/pull performance on Windows.

        29.0.6 (February 2020)

        • adb
          • 64-bit size/time support for adb ls when used with an Android 11 device.
          • Support listening on ::1 on POSIX.
          • Client support for WinUSB devices that publish a WinUSB descriptor (required for Android 11) should no longer require a USB driver to be installed.
          • Fix hang when using adb install on something that isn’t actually a file.

        29.0.5 (October 2019)

        • adb
          • Slight performance improvement on Linux when using many simultaneous connections.
          • Add —fastdeploy option to adb install , for incremental updates to APKs while developing.

        29.0.4 (September 2019)

        • adb
          • Hotfix for native debugging timeout with LLDB (see issue #134613180). This also fixes a related bug in the Android Studio Profilers that causes an AdbCommandRejectedException , which you can see in the idea.log file.

        29.0.3 (September 2019)

        • adb
          • adb forward —list works with multiple devices connected.
          • Fix devices going offline on Windows.
          • Improve adb install output and help text.
          • Restore previous behavior of adb connect without specifying port.

        29.0.2 (July 2019)

        • adb
          • Fixes a Windows heap integrity crash.
        • fastboot
          • Adds support for partition layout of upcoming devices.

        29.0.1 (June 2019)

        • adb
          • Hotfix for Windows crashes (https://issuetracker.google.com/134613180)

        29.0.0 (June 2019)

        • adb
          • adb reconnect performs a USB reset on Linux.
          • On Linux, when connecting to a newer adb server, instead of killing the server and starting an older one, adb attempts to launch the newer version transparently.
          • adb root waits for the device to reconnect after disconnecting. Previously, adb root; adb wait-for-device could mistakenly return immediately if adb wait-for-device started before adb noticed that the device had disconnected.
        • fastboot
          • Disables an error message that occurred when fastboot attempted to open the touch bar or keyboard on macOS.

        28.0.2 (March 2019)

        • adb
          • Fixes flakiness of adb shell port forwarding that leads to «Connection reset by peer» error message.
          • Fixes authentication via ADB_VENDOR_KEYS when reconnecting devices.
          • Fixes authentication—when the private key used for authentication does not match the public key—by calculating the public key from the private key, instead of assuming that they match.
        • fastboot
          • Adds support for dynamic partitions.
        • Updated Windows requirements
          • The platform tools now depend on the Windows Universal C Runtime, which is usually installed by default via Windows Update. If you see errors mentioning missing DLLs, you may need to manually fetch and install the runtime package.

        28.0.1 (September 2018)

        • adb
          • Add support for reconnection of TCP connections. Upon disconnection, adb will attempt to reconnect for up to 60 seconds before abandoning a connection.
          • Fix Unicode console output on Windows. (Thanks to external contributor Spencer Low!)
          • Fix a file descriptor double-close that can occur, resulting in connections being closed when an adb connect happens simultaneously.
          • Fix adb forward —list when used with more than one device connected.
        • fastboot
          • Increase command timeout to 30 seconds, to better support some slow bootloader commands.

        28.0.0 (June 2018)

        • adb:
          • Add support for checksum-less operation with devices running Android P, which improves throughput by up to 40%.
          • Sort output of adb devices by connection type and device serial.
          • Increase the socket listen backlog to allow for more simulataneous adb commands.
          • Improve error output for adb connect .
        • fastboot:
          • Improve output format, add a verbose output mode ( -v ).
          • Clean up help output.
          • Add product.img and odm.img to the list of partitions flashed by fastboot flashall .
          • Avoid bricking new devices when using a too-old version of fastboot by allowing factory image packages to require support for specific partitions.

        27.0.1 (December 2017)

        • adb: fixes an assertion failure on MacOS that occurred when connecting devices using USB 3.0.
        • Fastboot: On Windows, adds support for wiping devices that use F2FS (Flash-Friendly File System).

        27.0.0 (December 2017)

        • Re-fixes the macOS 10.13 fastboot bug first fixed in 26.0.1, but re-introduced in 26.0.2.

        26.0.2 (October 2017)

        • Add fastboot support for Pixel 2 devices.

        26.0.1 (September 2017)

        • Fixed fastboot problems on macOS 10.13 High Sierra (bug 64292422).

        26.0.0 (June 2017)

        • Updated with the release of Android O final SDK (API level 26).

        25.0.5 (April 24, 2017)

        Fixed adb sideload of large updates on Windows, manifesting as «std::bad_alloc» (bug 37139736).

        Fixed adb problems with some Windows firewalls, manifesting as «cannot open transport registration socketpair» (bug 37139725).

        Both adb —version and fastboot —version now include the install path.

        Changed adb to not resolve localhost to work around misconfigured VPN.

        Changed adb to no longer reset USB devices on Linux, which could affect other attached USB devices.

        25.0.4 (March 16, 2017)

        • Added experimental libusb support to Linux and Mac adb

        To use the libusb backend, set the environment variable ADB_LIBUSB=true before launching a new adb server. The new adb host-features command will tell you whether or not you’re using libusb.

        To restart adb with libusb and check that it worked, use adb kill-server; ADB_LIBUSB=1 adb start-server; adb host-features . The output should include «libusb».

        In this release, the old non-libusb implementation remains the default.

        fastboot doesn’t hang 2016 MacBook Pros anymore (bug 231129)

        Fixed Systrace command line capture on Mac

        25.0.3 (December 16, 2016)

        • Fixed fastboot bug causing Android Things devices to fail to flash

        25.0.2 (December 12, 2016)

        • Updated with the Android N MR1 Stable release (API 25)

        25.0.1 (November 22, 2016)

        • Updated with the release of Android N MR1 Developer Preview 2 release (API 25)

        25.0.0 (October 19, 2016)

        • Updated with the release of Android N MR1 Developer Preview 1 release (API 25)

        24.0.4 (October 14, 2016)

        • Updated to address issues in ADB and Mac OS Sierra

        Download Android SDK Platform-Tools

        Before downloading, you must agree to the following terms and conditions.

        Terms and Conditions

        1. Introduction

        2. Accepting this License Agreement

        3. SDK License from Google

        4. Use of the SDK by You

        5. Your Developer Credentials

        6. Privacy and Information

        7. Third Party Applications

        8. Using Android APIs

        9. Terminating this License Agreement

        10. DISCLAIMER OF WARRANTIES

        11. LIMITATION OF LIABILITY

        12. Indemnification

        13. Changes to the License Agreement

        Download Android SDK Platform-Tools

        Before downloading, you must agree to the following terms and conditions.

        Terms and Conditions

        1. Introduction

        2. Accepting this License Agreement

        3. SDK License from Google

        4. Use of the SDK by You

        5. Your Developer Credentials

        6. Privacy and Information

        7. Third Party Applications

        8. Using Android APIs

        9. Terminating this License Agreement

        10. DISCLAIMER OF WARRANTIES

        11. LIMITATION OF LIABILITY

        12. Indemnification

        13. Changes to the License Agreement

        Download Android SDK Platform-Tools

        Before downloading, you must agree to the following terms and conditions.

        Источник

        Читайте также:  Set max tv android
    Оцените статью