Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

349,554

Downloads of v 2020.3.1.22:

3,205

Last Update:

29 Jul 2021

Package Maintainer(s):

Software Author(s):

  • Google JetBrains

Tags:

google android studio androidstudio cross-platform

Android Studio (Install)

This is not the latest version of Android Studio (Install) available.

  • 1
  • 2
  • 3

2020.3.1.22 | Updated: 29 Jul 2021

Downloads:

349,554

Downloads of v 2020.3.1.22:

3,205

Software Author(s):

  • Google JetBrains

Android Studio (Install) 2020.3.1.22

This is not the latest version of Android Studio (Install) available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Google JetBrains. The inclusion of Google JetBrains trademark(s), if any, upon this webpage is solely to identify Google JetBrains goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Exemption for this package version only:

File too large to be scanned

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Android Studio (Install), run the following command from the command line or from PowerShell:

>

To upgrade Android Studio (Install), run the following command from the command line or from PowerShell:

>

To uninstall Android Studio (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade androidstudio -y --source="'INTERNAL REPO URL'" --version="'2020.3.1.22'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade androidstudio -y --source="'INTERNAL REPO URL'" --version="'2020.3.1.22'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install androidstudio
  win_chocolatey:
    name: androidstudio
    version: '2020.3.1.22'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'androidstudio' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2020.3.1.22'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller androidstudio
{
    Name     = "androidstudio"
    Version  = "2020.3.1.22"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'androidstudio':
  ensure   => '2020.3.1.22',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

WARNING

There are versions of this package awaiting moderation . See the Version History section below.

WARNING

This package is exempt from moderation. While it is likely safe for you, there is more risk involved.

Description

Android Studio is the official IDE for Android development.

Features

  • Visual layout editor
  • APK Analyzer
  • Fast emulator
  • Intelligent code editor
  • Flexible build system
  • Realtime profilers

Package Parameters

The following package parameters can be set:

  • /PinnedToTaskbar - this put a shortcut on your taskbar to Android Studio.
  • /AddToDesktop - this puts a shortcut on your desktop to Android Studio.

These parameters can be passed to the installer with the use of --params.
For example: --params '"/PinnedToTaskbar /AddToDesktop"'.

To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64      = 'https://redirector.gvt1.com/edgedl/android/studio/install/2020.3.1.22/android-studio-2020.3.1.22-windows.exe'
$checksum64 = '9a95e747121830b7a62f276438dd4df4390a4ccf785e09f226a9fb2ac0b576cf'

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'EXE'
  url64bit      = $url64
  softwareName  = 'Android Studio*'
  checksum64    = $checksum64
  checksumType64= 'sha256'
  silentArgs   = '/S'
  validExitCodes= @(0, 1223)
}

$pp = Get-PackageParameters

Install-ChocolateyPackage @packageArgs

if ($pp.PinnedToTaskbar) {
    Write-Host "Param: PinToTaskbar - Pinning Android Studio to Taskbar..."
    Install-ChocolateyPinnedTaskBarItem -TargetFilePath "${env:ProgramFiles}\Android\Android Studio\bin\studio64.exe"
}

if ($pp.AddToDesktop) {
    Write-Host "Param: AddToDesktop - Adding Android Studio Shortcut to Desktop..."

    $desktopPath = [Environment]::GetFolderPath("Desktop")

    Install-ChocolateyShortcut `
        -ShortcutFilePath "$desktopPath\Android Studio.lnk" `
        -TargetPath "${env:ProgramFiles}\Android\Android Studio\bin\studio64.exe"
}
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

function Uninstall-ChocolateyPinnedTaskBarItem {
<#
.SYNOPSIS
Removes an item from the task bar linking to the provided path.

.PARAMETER TargetFilePath
The path to the application that should be launched when clicking on the task bar icon.

.EXAMPLE
Uninstall-ChocolateyPinnedTaskBarItem "${env:ProgramFiles(x86)}\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe"
#>
param(
  [parameter(Mandatory=$true, Position=0)][string] $targetFilePath
)

  Write-Debug "Running 'Uninstall-ChocolateyPinnedTaskBarItem' with targetFilePath:`'$targetFilePath`'";

  try{
    if (test-path($targetFilePath)) {
      $verb = "Unpin from Taskbar"
      $path= split-path $targetFilePath 
      $shell=new-object -com "Shell.Application"  
      $folder=$shell.Namespace($path)    
      $item = $folder.Parsename((split-path $targetFilePath -leaf)) 
      $itemVerb = $item.Verbs() | ? {$_.Name.Replace("&","") -eq $verb} 
      if($itemVerb -eq $null){ 
        Write-Host "Android Studio is not pinned to the taskbar"
      } else { 
          $itemVerb.DoIt() 
          Write-Host "`'$targetFilePath`' has been unpinned from the task bar on your desktop"
      } 
      
    } else {
      $errorMessage = "`'$targetFilePath`' does not exist, not able to unpin from task bar"
    }
    
    if($errorMessage){
      Write-Warning $errorMessage
    }
  } catch {
      Write-Warning "Unable to unpin. Error captured was $($_.Exception.Message)."
  }
}

Uninstall-ChocolateyPinnedTaskBarItem -TargetFilePath "${env:ProgramFiles}\Android\Android Studio\bin\studio64.exe"

$desktopPath = [Environment]::GetFolderPath("Desktop")
Remove-Item "$desktopPath\Android Studio.lnk" -ErrorAction SilentlyContinue -Force

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'Android Studio*'
  fileType      = 'EXE'
  silentArgs   = '/S'
  validExitCodes= @(0, 1223)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % { 
    $packageArgs['file'] = "$($_.UninstallString)"
    Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $($_.DisplayName)"}
}

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Android Studio (Install) 2024.2.1.11 5 Friday, November 1, 2024 Ready
Android Studio (Install) 2024.2.1.9 3336 Wednesday, October 2, 2024 Exempted
Android Studio (Install) 2024.1.2.12 3131 Friday, August 30, 2024 Exempted
Android Studio (Install) 2024.1.1.13 4408 Friday, August 9, 2024 Exempted
Android Studio (Install) 2024.1.1.12 3667 Friday, July 12, 2024 Exempted
Android Studio (Install) 2024.1.1.11 1038 Friday, June 14, 2024 Exempted
Android Studio (Install) 2023.3.1.20 34 Tuesday, June 11, 2024 Exempted
Android Studio (Install) 2023.3.1.19 4769 Tuesday, May 21, 2024 Exempted
Android Studio (Install) 2023.3.1.18 2434 Wednesday, May 1, 2024 Exempted
Android Studio (Install) 2023.2.1.25 2605 Wednesday, April 10, 2024 Exempted
Android Studio (Install) 2023.2.1.24 38 Tuesday, March 19, 2024 Exempted
Android Studio (Install) 2023.2.1.23 4137 Friday, March 1, 2024 Exempted
Android Studio (Install) 2023.1.1.28 3976 Wednesday, January 24, 2024 Exempted
Android Studio (Install) 2023.1.1.27 4164 Thursday, January 4, 2024 Exempted
Android Studio (Install) 2023.1.1.26 4037 Friday, December 1, 2023 Approved
Android Studio (Install) 2022.3.1.22 2536 Friday, November 17, 2023 Approved
Android Studio (Install) 2022.3.1.21 2013 Wednesday, November 8, 2023 Approved
Android Studio (Install) 2022.3.1.20 4272 Friday, September 29, 2023 Approved
Android Studio (Install) 2022.3.1.19 4620 Tuesday, August 22, 2023 Approved
Android Studio (Install) 2022.3.1.18 3469 Wednesday, July 26, 2023 Approved
Android Studio (Install) 2022.2.1.20 7916 Thursday, May 25, 2023 Approved
Android Studio (Install) 2022.2.1.19 3738 Tuesday, May 2, 2023 Approved
Android Studio (Install) 2022.2.1.18 3590 Friday, April 14, 2023 Approved
Android Studio (Install) 2022.1.1.21 1708 Sunday, April 9, 2023 Approved
Android Studio (Install) 2021.3.1.17 15187 Friday, October 14, 2022 Approved
Android Studio (Install) 2021.3.1.16 3745 Friday, September 16, 2022 Approved
Android Studio (Install) 2021.2.1.16 4375 Thursday, August 4, 2022 Exempted
Android Studio (Install) 2021.2.1.15 5835 Thursday, May 26, 2022 Exempted
Android Studio (Install) 2021.2.1.14 3721 Tuesday, May 10, 2022 Exempted
Android Studio (Install) 2021.1.1.23 3855 Friday, April 8, 2022 Exempted
Android Studio (Install) 2021.1.1.22 2854 Thursday, February 24, 2022 Exempted
Android Studio (Install) 2021.1.1.21 4855 Saturday, February 5, 2022 Exempted
Android Studio (Install) 2021.1.1.20 2527 Wednesday, January 26, 2022 Exempted
Android Studio (Install) 2020.3.1.26 4479 Thursday, December 9, 2021 Exempted
Android Studio (Install) 2020.3.1.25 5327 Tuesday, October 12, 2021 Exempted
Android Studio (Install) 2020.3.1.24 3380 Thursday, September 2, 2021 Exempted
Android Studio (Install) 2020.3.1.23 3439 Friday, August 20, 2021 Exempted
Android Studio (Install) 2020.3.1.22 3205 Thursday, July 29, 2021 Exempted
Android Studio (Install) 4.2.2.0 2567 Thursday, July 1, 2021 Exempted
Android Studio (Install) 4.2.1.0 30257 Friday, May 14, 2021 Exempted
Android Studio (Install) 4.2.0.24 1762 Wednesday, May 12, 2021 Exempted
Android Studio (Install) 4.1.3.0 5768 Monday, March 29, 2021 Approved
Android Studio (Install) 4.1.2.0 5707 Tuesday, February 2, 2021 Approved
Android Studio (Install) 4.1.1.0 3523 Friday, November 13, 2020 Approved
Android Studio (Install) 4.1.0.19 6463 Tuesday, October 20, 2020 Approved
Android Studio (Install) 4.0.2.0 2173 Friday, October 9, 2020 Approved
Android Studio (Install) 4.0.1.0 6683 Wednesday, July 22, 2020 Approved
Android Studio (Install) 4.0.0.16 4844 Thursday, May 28, 2020 Approved
Android Studio (Install) 3.6.3.0 1980 Saturday, May 16, 2020 Approved
Android Studio (Install) 3.6.2.0 4011 Wednesday, April 1, 2020 Approved
Android Studio (Install) 3.6.1.0 3605 Saturday, February 29, 2020 Approved
Android Studio (Install) 3.6.0.21 1444 Tuesday, February 25, 2020 Approved
Android Studio (Install) 3.5.3.0 7446 Friday, December 6, 2019 Approved
Android Studio (Install) 3.5.2.0 5029 Tuesday, November 5, 2019 Approved
Android Studio (Install) 3.5.1.0 3857 Thursday, October 3, 2019 Approved
Android Studio (Install) 3.5.0.21 5804 Wednesday, August 21, 2019 Approved
Android Studio (Install) 3.4.2.0 4945 Wednesday, July 10, 2019 Approved
Android Studio (Install) 3.4.1.0 6605 Thursday, May 16, 2019 Approved
Android Studio (Install) 3.4.0.18 4053 Wednesday, April 17, 2019 Approved
Android Studio (Install) 3.3.2.0 5255 Tuesday, March 5, 2019 Approved
Android Studio (Install) 3.3.1.0 5190 Thursday, February 7, 2019 Approved
Android Studio (Install) 3.3.0.20 3581 Tuesday, January 15, 2019 Approved
Android Studio (Install) 3.2.1.0 7791 Friday, October 12, 2018 Approved
Android Studio (Install) 3.2.0.26 3104 Tuesday, September 25, 2018 Approved
Android Studio (Install) 3.1.4.0 5847 Tuesday, August 7, 2018 Approved
Android Studio (Install) 3.1.3.020180709 2726 Monday, July 9, 2018 Approved
Android Studio 3.1.3.0 2615 Monday, June 11, 2018 Approved
Android Studio 3.1.2.0 5797 Wednesday, April 25, 2018 Approved
Android Studio 3.1.1.0 2874 Wednesday, April 11, 2018 Approved
Android Studio 3.1.0.16 3272 Tuesday, March 27, 2018 Approved
Android Studio 3.0.1.0 11235 Tuesday, November 21, 2017 Approved
Android Studio 3.0.0.18 1690 Friday, October 27, 2017 Approved
Android Studio 2.3.3.0 3273 Friday, August 11, 2017 Approved
Android Studio 2.3.1.0 2914 Wednesday, April 19, 2017 Approved
Android Studio 2.3.0.8 1877 Saturday, March 4, 2017 Approved
Android Studio 2.2.2.0 2959 Friday, October 28, 2016 Approved
Android Studio 2.1.3.0 1994 Monday, August 22, 2016 Approved
Android Studio 2.1.2.1 648 Saturday, August 13, 2016 Approved
Android Studio 2.1.2.0 1001 Tuesday, June 28, 2016 Approved
Android Studio 2.1.1.0 551 Thursday, May 12, 2016 Approved
Android Studio 2.0.0.20 498 Thursday, May 12, 2016 Approved
Android Studio 1.5.1.0 1732 Wednesday, December 30, 2015 Approved
Android Studio 1.5.0.0 472 Wednesday, December 30, 2015 Approved
Android Studio 1.4.1.0 492 Wednesday, December 30, 2015 Approved
Android Studio 1.4.0.10 647 Thursday, October 8, 2015 Approved
Android Studio 1.3.1.0 508 Tuesday, August 18, 2015 Approved
Android Studio 1.3.0.10 1263 Tuesday, August 4, 2015 Approved
Android Studio 1.2.1.1 523 Saturday, June 6, 2015 Approved
Android Studio 1.1.0 1590 Tuesday, February 24, 2015 Approved
Android Studio 0.3.2.132893413 1746 Friday, January 3, 2014 Approved
Android Studio 0.2.130.737825 767 Tuesday, July 23, 2013 Approved
Android Studio 0.1.130.677228 701 Monday, May 27, 2013 Approved

This package has no dependencies.

Discussion for the Android Studio (Install) Package

Ground Rules:

  • This discussion is only about Android Studio (Install) and the Android Studio (Install) 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 Studio (Install), 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