Notices: This section not yet converted to new layout. Download stats are rolling back out.

Android Debug Bridge

28.0.3

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 5/18/2019.

Android Debug Bridge (adb) is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device.

To install Android Debug Bridge, run the following command from the command line or from PowerShell:

C:\> choco install adb

To upgrade Android Debug Bridge, run the following command from the command line or from PowerShell:

C:\> choco upgrade adb

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'adb'
    $url = 'https://dl-ssl.google.com/android/repository/platform-tools_r28.0.3-windows.zip'
    $checksum = '0FDBC4BCBFCC2B9437F36D7C17CF7BB318532221DE54C7E71FC980F05F51BCBF'
    $checksumType = 'sha256'
    $unzipLocation = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    
    $existingAdb = Get-Command -Name adb.exe -ErrorAction SilentlyContinue
    if (($existingAdb -ne $null) -and ($existingAdb.Path.StartsWith($env:ChocolateyInstall) -eq $false)) {
    	Write-Warning "adb.exe already exists: $($existingAdb.Path)"
    }
    
    $existingFastboot = Get-Command -Name fastboot.exe -ErrorAction SilentlyContinue
    if (($existingFastboot -ne $null) -and ($existingFastboot.Path.StartsWith($env:ChocolateyInstall) -eq $false)) {
    	Write-Warning "fastboot.exe already exists: $($existingFastboot.Path)"
    }
    
    Install-ChocolateyZipPackage $packageName $url $unzipLocation -checksum $checksum -checksumType $checksumType -checksumType64 $checksumType
    
    Remove-Item "$unzipLocation\platform-tools\api" -recurse
    Remove-Item "$unzipLocation\platform-tools\systrace" -recurse
    Remove-Item "$unzipLocation\platform-tools\dmtracedump.exe"
    Remove-Item "$unzipLocation\platform-tools\etc1tool.exe"
    Remove-Item "$unzipLocation\platform-tools\hprof-conv.exe"
    Remove-Item "$unzipLocation\platform-tools\source.properties"
    Remove-Item "$unzipLocation\platform-tools\sqlite3.exe"

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Google

Tags

Version History

Version Downloads Last updated Status
Android Debug Bridge 28.0.2 5 Saturday, May 18, 2019 approved
Android Debug Bridge 28.0.1 7280 Tuesday, September 4, 2018 approved
Android Debug Bridge 28.0.0 2530 Thursday, June 14, 2018 approved
Android Debug Bridge 27.0.1 2579 Monday, April 2, 2018 approved
Android Debug Bridge 27.0.0 101 Tuesday, April 3, 2018 approved
Android Debug Bridge 1.0.39.20171026 3148 Sunday, November 19, 2017 approved
Android Debug Bridge 1.0.39 4266 Wednesday, April 19, 2017 approved
Android Debug Bridge 1.0.36 2390 Wednesday, November 23, 2016 approved
Show More

Discussion for the Android Debug Bridge Package

Ground rules:

  • This discussion is only about Android Debug Bridge and the Android Debug Bridge package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Android Debug Bridge, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok