4 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд

Download Android SDK Platform-Tools (Windows/Mac/Linux)

Download Android SDK Platform-Tools (Windows/Mac/Linux)

ADB and Fastboot are essential command-line tools for Android that facilitate a range of tasks including flashing factory images or custom recovery or kernel images (.img), sideload APK, etc. Using ADB and Fastboot commands, we can perform countless tasks on Android devices and even debug them. Thanks to Android SDK Platform-tools that pack together all required files to execute ADB and Fastboot commands using a command prompt. Below, you can download the latest SDK platform-tools Zip for Windows, Linux, and Mac OS X directly from the Google servers.

What Platform Can It support? Where Can It be used?

—> As said above, the platform-tools is a component of Android SDK containing what are considered to be the essential tools for Android app development, viz, ADB, Fastboot, and Systrace. These tools are available for Windows, Linux, and macOS computers. So, if you’re an Android developer, these tools are vital to you, and you can get the version for your computer OS.

Download links

Please refer Android License regarding the software before download.

  • Windows
  • Mac
  • Linux

Android SDK 30.0.4



What’s New

  • Windows
  • Mac Intel
  • Linux i386
  • Command-line only Windows (30.0.4)
  • Command-line only macOS (30.0.4)
  • Command-line only Linux (30.0.4)

The Android SDK is composed of modular packages that you can download separately using the Android 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. Simply follow the procedures described in Adding Platforms and Packages.

  • 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.
  • Improve console output on fastboot oem commands.
  • Fix fastboot flashall on Nexus 7.

30.0.4 Command-line tools:

  • 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.

Previous release notes:

  • A command-line version of the Apk Analyzer has been added in tools/bin/apkanalyzer. It offers the same features as the Apk Analyzer in Android Studio and can be integrated into build/CI servers and scripts for tracking size regressions, generating reports, and so on.
  • ProGuard rules files under tools/proguard are no longer used by the Android Plugin for Gradle. Added a comment to explain that.
  • When creating an AVD with avdmanager, it is no longer necessary to specify —tag if the package specified by —package only contains a single image (as is the case for all images currently distributed by Google).

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

29.0.5 (October 2019) Command-line tools:

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

Available Packages:

  • SDK Tools
    • Contains tools for debugging and testing, plus other utilities that are required to develop an app. If you’ve just installed the SDK starter package, then you already have the latest version of this package. Make sure you keep this up to date.
  • SDK Platform-tools
    • Contains platform-dependent tools for developing and debugging your application. These tools support the latest features of the Android platform and are typically updated only when a new platform becomes available. These tools are always backward compatible with older platforms, but you must be sure that you have the latest version of these tools when you install a new SDK platform.
  • Documentation
    • An offline copy of the latest documentation for the Android platform APIs.
  • SDK Platform
    • There’s one SDK Platform available for each version of Android. It includes an android.jar file with a fully compliant Android library. In order to build an Android app, you must specify an SDK platform as your build target.
  • System Images
    • Each platform version offers one or more different system images (such as for ARM and x86). The Android emulator requires a system image to operate. You should always test your app on the latest version of Android and using the emulator with the latest system image is a good way to do so.
  • Sources for Android SDK
    • A copy of the Android platform source code that’s useful for stepping through the code while debugging your app.
  • Samples for SDK
    • A collection of sample apps that demonstrate a variety of the platform APIs. These are a great resource to browse Android app code. The API Demos app in particular provides a huge number of small demos you should explore.
  • Google APIs
    • An SDK add-on that provides both a platform you can use to develop an app using special Google APIs and a system image for the emulator so you can test your app using the Google APIs.
  • Android Support
    • A static library you can include in your app sources in order to use powerful APIs that aren’t available in the standard platform. For example, the support library contains versions of the Fragment class that’s compatible with Android 1.6 and higher (the class was originally introduced in Android 3.0) and the ViewPager APIs that allow you to easily build a side-swipeable UI.
  • Google Play Billing
    • Provides the static libraries and samples that allow you to integrate billing services in your app with Google Play.
  • Google Play Licensing
    • Provides the static libraries and samples that allow you to perform license verification for your app when distributing with Google Play.

Download links for previous version Android SDK 25.2.3:

Please note that the below tutorial is for Windows-based computers.

  1. Make sure you have the latest Android USB Drivers installed on your computer.
  2. Download the platform tools zip file from the downloads section above.
  3. Extract the zip file to get the SDK Platform Tools.
  4. Open the extracted folder and open command prompt from inside that folder. There are two ways to do it:
    1. Inside the folder, type ‘cmd’ in the address bar and hit enter.
    2. Inside the folder, hold down Shift Key and Right Click anywhere in the empty portion in the folder and select ‘Open command window here‘ or ‘Open PowerShell window here‘.
  5. Allow USB Debugging | Authorize ADB Commands on Android: This guide will help you on how to prepare your Android device.
  6. Once the above step is complete, you are good to go!
Читать еще:  Обзор смартфона Fly Nimbus 3 FS501 — Игрок из младшей лиги

Now you have successfully installed and set up the Android SDK Platform Tools zip file on your computer.

Installing the tools

Extract the file you downloaded above into a folder named Android on the root of your C drive (Windows) or into your Home folder (Mac, Linux). You might notice a few things are missing if you’ve ever downloaded the command line tools before as the tools and platform-tools folders are missing. That’s OK; we’re about to get them using the included SDK manager.

Open the bin folder in the extracted download and find the SDK manager executable file. It may look like a terminal or shell command, but it will open a GUI as long as you have Java installed correctly.

Source: Android Central

In the SDK manager, you’ll choose to install Android SDK Tools and Android SDK Platform-Tools. If you’re using Windows, you’ll also want to install the Google USB Driver, and if you plan on building AOSP from the source, you may want to install the Android SDK Build-Tools.

Choose the correct files and proceed through the process (it will show you a license agreement you should read), and both tools folders will be installed. But you’re not quite finished!

The tools will be installed into the application data folder. On Windows, it’s in WindowsusersYourUserNameAppDataLocalAndroid, and on a Mac or Linux, it’s in .Android (notice the dot!) in your home folder. Create a symbolic link (information for Windows users here) for both tools folders in the Android folder you created earlier. This will help get them into your PATH and make life a lot easier.

Development Tools

To develop Android applications you need many tools, such as the Android SDK, the Android NDK, Java, the Eclipse IDE, the Android Development Tools (ADT), and command line (bash on Mac or Linux, Cygwin on Windows). To simplify installation, NVIDIA has created CodeWorks for Android, a single file that installs everything you need.

Install CodeWorks for Android

To download CodeWorks for Android, you will need to to become a member of the NVIDIA GameWorks Registered Developer Program. Please visit the NVIDIA GameWorks Download Center, create an account (it is free and easy) and then apply for membership to the NVIDIA GameWorks Registered Developer Program.

  1. Download the latest CodeWorks for Android.
  2. Run the installer.
  3. Set the executable attribute on the downloaded file:

The installer requires a Java runtime installed. If you get a message that Java is missing, install openjdk jre .

  • Please refer to Download and Install CodeWorks for Android for details on installing CodeWorks for Android.
  • Note for Windows users: The Windows installer has the option to install Nsight Tegra development. Note that this requires Visual Studio, and will fail to install if Visual Studio is not present. If this is the case, just ignore the message and continue with the installation.

    From now on we refer to the NVPACK installation directory as $NVPACK_PATH , you should create such an environment variable. If the environment variables are not visible to Eclipse (e.g., on Mac if you launch Eclipse via Spotlight), you need to define it inside Eclipse. In this case, launch Eclipse, go to Window > Preferences > C/C++ > Build > Environment and Add variable NVPACK_PATH and give it the correct value (such as C:NVPACK or wherever you installed NVPACK).

    Configure Eclipse for this tutorial

    Launch Eclipse (it’s installed in the eclipse folder under NVPACK); when prompted for a workspace, use the one that came with TADP: $NVPACK_PATH/nvsample_workspace .

    Upgrade the Android SDK

    The Android Eclipse plugins require a matching version of the Android SDK Tools. Go to Windows > Android SDK Manager to update your SDK tools:


    Check the Android SDK Tools and the Android SDK Platform-Tools; if an update is available, apply the update. Click on Install n packages. You may need to select each update separately and agree for the license. After the update finishes, you may be prompted to check for updates of the Eclipse Plugin. Check for Eclipse Plugin updates, and install only those plugins that relate to Android.

    Upgrade Android NDK

    The Android NDK provides the compiler toolchain to build C and C++ code into native binaries. Native modules are usually used to write optimized code or port existing C/C++ code into Android. In addition, such modules are built and debugged separately from Java code, because there is no Java VM involved. The TADP installs the Android NDK.

    Although most recent releases of the Android NDK could be available, for this tutorial we will use the Android NDK r9c. Go to the Android NDK web site, download the package for your OS, and unpack it.

    Copy the android-ndk-[version] folder to the $NVPACK_PATH folder.

    Set the Android Preferences in Eclipse

    To set up the Android Preferences in Eclipse, go to Window > Preferences > Android (on Mac: Eclipse > Preferences > Android).

    You will see a list of installed SDK.

    Look for the SDK Location, it should point to the root of your SDK directory (TADP sets this up for you).

    Change the NDK path under Preferences > Android > NDK. Set the path to point to the Android NDK r9c release of the Android NDK.

    After making your changes, click OK to close the window.

    If you plan to do any command-line compilations, also check the environment variables that TADP installed set for you. For example, on Mac the installer adds lines to

    /.bash_profile , which create NDKROOT ; you should modify that to reflect the latest NDK you just installed.

    What is inside the Android SDK

    The Android SDK is maintained by Google and is updated frequently. The SDK consists of:

    SDK Tools: Basic set of development and debugging tools. Includes the Android SDK Manager, the Android Emulator, and other tools required to build your applications.

    Читать еще:  Платные подписки на контент: откуда берутся и как избавиться

    SDK Platform Tools: The most important of the platform tools is the Android Debug Bridge (adb), which allows you to connect to your device, install and uninstall applications, view logs, and run shell commands.

    SDK Platform: For every Android API that has been released, there is a corresponding Android Platform SDK. Each new Platform SDK adds new APIs and maintains backward compatibility with previous ones. If you use the smallest API level that includes the APIs that you need, your application runs on more systems than if you require a newer API.

    Vendor APIs: In addition, hardware vendors can release their own SDKs to work with additional features available on their devices.

    See also: Google’s official instructions for Installing the SDK.

    Configure your device for development

    Flashing your NVIDIA Android Devkit

    Unlike regular Android devices, Cardhu and other NVIDIA developer kits must be updated manually. If you are using one for this tutorial, please make sure it is running the latest. This not only gives you the benefit from the latest Android system, but also ensure new OpenCV and FCam are pushed to the device. If you are not using Cardhu, simply skip this section and go to the next step.

    Flashing your Cardhu is easy. First, you need to download the latest OS image. This can be done by following the same procedure of installing CodeWorks for Android. If you select Custom and drag down the menu, OS image option is at the bottom.

    Once the image is downloaded, it will prompt you an option to flash the device.

    Following the manual to connect the debug board to the devkit, before hitting OK.

    After a while, Cardhu will reboot itself, and you are ready to go!

    Device configuration

    In order to install and debug applications on the device through the USB connection, you have to enable USB debugging. On the tablet, tap on Settings > System > Developer options and check USB debugging.

    This will enable you to connect to the device from the host computer using adb. To verify your device is ready for development run adb devices to see a list of attached devices:

    You will also see the device in Eclipse in the Devices tab. If the tab is not visible, you can open the tab from Window > Show View > Other. > Android > Devices.

    Configuring the Sony Xperia Tablet S (and possibly other tablets)

    If you develop on Linux you should be fine, but if you develop under Windows, you might see that when you enable USB debugging mode on the Sony Xperia tablet, Windows won’t be able to install the drivers correctly, and you won’t be able to adb to the device. For example, if you type adb devices in a shell, you may not be able to see your tablet listed there.

    Essentially, we need to make Windows see the tablet as a compatible device. On your Windows machine, go to Control Panel > System and Security > System > Device Manager. The tablet may or may not show as correctly installed. If Windows thinks it failed installing the device, you’ll see an icon with an exclamation mark in the Device Manager; if not, you should find the device under Portable devices > SGPT12:

    Right-click on it, select Properties and go to the tab Details. From the Property menu, select Hardware Ids. Now right-click and copy the second ID, the one NOT ending in &REV_9999 :

    Leave this window open and open the file android_winusb.inf located under your NVPACK installation directory, ../NVPACK/android-sdk-windows/google-usb_driver .

    We need to add a few lines under the tags [Google.NTx86] and [Google.NTamd64]:

    Here, you can replace the USBVID_054C&PID_06AD part with whatever you copied from the Device Manager.

    Now go to the Driver tab in the Properties screen:

    Click Update Driver. , in the new window select Browse my computer for driver software, and then make Windows look in the folder where you found the .inf file before ( ../NVPACK/android-sdk-windows/google-usb_driver/ ). Follow the on-screen instructions, and everything should run smoothly. Typing adb devices in a shell again should let you to see your tablet listed.

    Tutorial sample codes

    We have provided some sample codes as part of the tutorial here. Unzip the file to a directory. We will refer to it as the /tutorial folder from this point onward.

    You are now ready to create your first Eclipse project.

    NVIDIAВ® GameWorksв„ў Documentation Rev. 1.0.200608 В©2014- 2020 . NVIDIA Corporation. All Rights Reserved.

    How to Download and install Android SDK tools in Windows System in 2020

    Follow the below-given steps to download and install Android SDK tools in the Windows Operating System in 2020.

    • Firstly visit the official Developer Android Portal: Click here

    • You will find the option “Android Studio” kindly click on it to continue with the process to download Android SDK platform tools

    • Now, click on What’s New option to proceed further

    • Next step is to click the last option “SDK Platform tools” to continue with Android SDK tools download process

    • You will find the option “Download SDK Platform Tool for Windows” kindly click on it to download Android SDK tools.

    • Next step is to give a checkmark “I have read and agree with the above terms and conditions” You can read all the conditions before proceeding. Once done, click on blue TAB to download Android SDK tools in Windows PC.
    • Now what you have to do is to download Google USB Driver Zip file in your Windows Operating System.

    • Again visit the official Developer Android Portal, a direct link to download Google USB Driver Zip file

    • Next step is to give a checkmark “I have read and agree with the above terms and conditions” You can read all the conditions before proceeding. Once done, click on blue TAB to Google USB Driver Zip file in your Windows PC.
    • Wait for a while until Android SDK platform tools and Google USB Driver Zip file gets downloaded in Windows PC. Once done, refresh the system and proceed with other steps.

    • Next step is to right-click on “Android SDK platform tools” to extract the files in Windows PC

    • Kindly extract the files into Local disk: C in your Windows PC

    • The process will consume some time, wait until 100% completion. Once done, you will find a folder with name “Platform-tools folder” in the local disk: C of your Windows PC
    Читать еще:  Разрешение Full HD: стоит ли выбирать для ТВ, TV BOX, мониторов?

    • Extract the Google USB driver Zip file in “Platform Tools Folder”

    • You will find the Platform Tools Folder in Local Disk: C of your Windows Operating System. Kindly click on it and complete the extraction process

    • Open the Local Disk: C in windows PC and click on “Platform-tools” folder to proceed further

    • Next step is to copy the path “C:platform-tools” for that select “adb.exe” and copy the folder path to continue with the process to download and install Android SDK tools in Windows PC

    • Now right-click on “This PC” and select the option “Properties” to proceed further with the process

    • Kindly, click on “Advanced System Settings”

    • Next step is to click on “Environment Variables”

    • Kindly Double-Click on “Path” to proceed with the process to download Android SDK tools in Windows PC

    • Click on New TAB to continue with the process

    • Kindly paste the copied path and click on OK button. Once done, close all the tabs and refresh the Windows PC.

    To check whether Android SDK platform tools are successfully installed in Windows PC, open command prompt in Windows PC.

    • Press Windows Key + R simultaneously to open the Run box, input cmd and click the OK tab

    • Input the command “adb” in Command Prompt and hit enter

    • You will find all the adb command in your Windows PC

    • Next step is to input the command “ fastboot ” and hit enter

    • If you find the commands for both adb and fastboot in command prompt, indicates that Android SDK platform tools have successfully installed in Windows PC.

    Perform the above-given steps in your Windows PC to download and install Android SDK platform tools in 2020.

    2. Enable USB debugging on your device

    To enable USB debugging, you must enable Developer options on your device. To do this, find the build number in your device’s Settings menu. The location of the build number varies between devices; for stock Android, it’s usually Settings > About phone > Build number. For specific information on your device and Android version, refer to your hardware manufacturer.

    After you navigate to the build number using the instructions above, tap on the build number seven times. A pop-up notification saying “You are now X steps away from being a developer” appears, with “X” being a number that counts down with every additional tap. On the seventh tap, Developer options are unlocked.

    Note: On Android versions prior to 4.2 (Jelly Bean), the Developer options are enabled by default.

    Go to Settings > Developer options (or, if this does not work, on some devices the path is Settings > System > Developer options), and check the USB debugging checkbox. Android now enters debug mode when it is connected to a computer via USB.

    Connect your device to your computer using a USB cable. If you are developing on a Windows computer, you might need to install a device-specific USB driver. See the manufacturer website for your device for additional information.

    The setup process differs for Windows and macOS and is explained in detail on the Android developer website. For more information on connecting your Android device to the SDK, refer to the Run Your App section of the Android Developer documentation.

    Android Platform Tools 2020:

    Well, before beginning, make sure that you have all the USB device drivers installed for your phone. You can download these tools from the links given below and know how to use it in ADB and Fastboot. Go to Settings > Developer options > Enable OEM unlocking and USB-debugging.

    How to Install Platform Tools and use ADB and Fastboot:

    For Windows

    Download the Platform-tools from the link given below and extract the zip file. After extracting copy the folder to the C drive of the PC.

    Download Now– [Platform Tools for Windows]

    Go to the folder and right-click on any blank space by holding the right shift key at the same time. You will see a menu of options with either an option of Open Command Prompt here or Powershell here. Click on it.

    After the shell opens, follow the process below:

    1. Type adb devices after connecting the phone through USB with USB debugging on. You will see a pop up on your phone. Allow it.
    2. Type adb devices again. You will now see a successful connection with a serial number of your connected device.
    3. You have now Platform Tools installed on your device and ADB and Fastboot working. To flash custom recovery image files you can now use the command fastboot flash and many others.

    For Mac

    Download the Platform-tools from the link given below and extract the zip file. After extracting copy the folder to the desktop.

    Download Now – [Platform Tools for Mac]

    Open a terminal window and type in cd /Users/”your user name”/Desktop/platform-tools.

    After the shell opens, follow the process below:

    1. Type adb devices after connecting the phone through USB with USB debugging on. You will see a pop up on your phone. Allow it.
    2. Type adb devices again. You will now see a successful connection with a serial number of your connected device.
    3. You have now Platform Tools installed on your device and ADB and Fastboot working. To flash custom recovery image files you can now use the command fastboot flash and many others.

    For Linux

    Download the Platform-tools from the link given below and extract the zip file. After extracting copy the folder to the desktop.

    Download Now – [Platform Tools for Linux]

    Open a shell window and type in sudo nano .bashrc .

    After the nano editor opens, follow the process below:

    1. Add this line to the end of the code: export PATH=$:/home/YOUR-USERNAME/path/to/adb
    2. Type adb and allow the pop up on your phone. You will now see a successful connection with a serial number of your connected device.
    3. You have now Platform Tools installed on your device and ADB and Fastboot working. To flash custom recovery image files you can now use the command fastboot flash and many others.

    So, this was how easily you can set up Platform tools in your PC and use ADB and Fastboot. Go ahead and start exploring things with the Platform-tools.

    Stay tuned for further updates on Platform-tools, ADB, and Fastboot on. Also, share this article with all those Android fans who were wondering about these.

    Ссылка на основную публикацию
    Статьи c упоминанием слов: