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

Android Studio (Install)

  • 1
  • 2
  • 3

2023.3.1.19 | Updated: 21 May 2024

Downloads:

329,081

Downloads of v 2023.3.1.19:

3,210

Software Author(s):

  • Google JetBrains

Android Studio (Install) 2023.3.1.19

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

Package contains file(s) too big to be uploaded to VirusTotal!

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'" [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'" 
$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: '2023.3.1.19'
    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  '2023.3.1.19'
end

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


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

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


package { 'androidstudio':
  ensure   => '2023.3.1.19',
  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 integrated development environment for Google's
Android operating system, built on JetBrains' IntelliJ IDEA software and
designed specifically for Android development.

It provides a unified environment where you can build apps for Android phones,
tablets, Android Wear, Android TV, and Android Auto. Structured code modules
allow you to divide your project into units of functionality that you can
independently build, test, and debug.

Features

  • Design tools
  • Intelligent code editor
  • Flexible build system
  • Easily emulate any device
  • APK Analyzer

screenshot

  • /AddToDesktop - add a desktop shortcut for Android Studio
    e.g. choco install -y androidstudio --package-parameters="/AddToDesktop"
  • /InstallDir=[directory] - set the installation directory to [directory]
    e.g. choco install -y androidstudio --package-parameters="/InstallDir=C:\Tools\Android Studio"
  • /NoStartMenu - do not add a start menu entry for Android Studio
    e.g. choco install -y androidstudio --package-parameters="/NoStartMenu"
  • /PinToTaskbar - this put a shortcut on your taskbar to Android Studio
    e.g. choco install -y androidstudio --package-parameters="/PinToTaskbar"

Notes

  • Android Studio provides both 32 and 64-bit versions in the package
  • The shim and shortcuts added will be based on the bitness of the OS or 32-bit if --forceX86 is specifed on a 64-bit machine
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

Uninstall-Binfile -name 'androidstudio' -path 'studio.exe'
Uninstall-Binfile -name 'androidstudio' -path 'studio64.exe'
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$url        = 'https://redirector.gvt1.com/edgedl/android/studio/install/2023.3.1.19/android-studio-2023.3.1.19-windows.exe'
$checksum   = '2ea336a2fa9e794a800a38b02b7bfa933089f824689c0b50d75d03a6bb4fb6a9'
$silentArgs = '/S'

# the installer includes both 32 and 64-bit executables so set the correct executable
# to be used based on the OS bitness
if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq 'true') {
  $executable = 'studio.exe'
} else {
  $executable = 'studio64.exe'
}

$pp = Get-PackageParameters

$addToDesktop = $false
$noStartMenu  = $false
$pinToTaskBar = $false

if ($pp.count -gt 0) {
  $pp.GetEnumerator() | foreach-object {
  switch ($_.name) {
      'AddToDesktop' {
        $addToDesktop = $true
      }
      'NoStartMenu' {
        $noStartMenu = $true
      }
      'PinToTaskBar' {
        $pinToTaskBar = $true
      }
      Default {
        Write-Verbose("Unknown parameter $_ will be ignored")
      }
    }
  }
}

$packageArgs = @{
  PackageName    = $env:ChocolateyPackageName
  FileType       = 'exe'
  SoftwareName   = 'Android Studio'
  Url            = $url
  Checksum       = $checksum
  ChecksumType   = 'sha256'
  Url64bit       = $url
  Checksum64     = $checksum
  ChecksumType64 = 'sha256'
  SilentArgs     = $silentArgs
  validExitCodes = @(0, 1223)
}

Install-ChocolateyPackage @packageArgs

$uninstallKey    = Get-UninstallRegistryKey -SoftwareName 'Android Studio'
$installLocation = Split-Path -Parent $uninstallKey.UninstallString
$executable      = Get-ChildItem $installLocation -include $executable -recurse

Install-Binfile -name ($executable.Name -Split '\.' | Select-Object -First 1) -Path $executable.FullName

if ($addToDesktop) {
  $desktopPath = [Environment]::GetFolderPath('CommonDesktopDirectory')

  $shortcutPath = "$desktopPath\Android Studio.lnk"

  if (Test-Path -Path $shortcutPath) {
    Remove-Item $shortcutPath -ErrorAction SilentlyContinue -Force | Out-Null
  }

  Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $executable
}

# the start menu entry for Android Studio is added by default on install - remove if /NoStartMenu has been specifed
if ($noStartMenu) {
  $startMenuPath = [Environment]::GetFolderPath('CommonPrograms')

  $startMenuLink = "$startMenuPath\Android Studio\Android Studio.lnk"

  if (Test-Path -Path $startMenuLink) {
    $startMenuFolder = Split-Path -Parent $startMenuLink
    Remove-Item -LiteralPath $startMenuFolder -ErrorAction SilentlyContinue -Force -Recurse | Out-Null
  }
}

if ($pinToTaskBar) {
  Install-ChocolateyPinnedTaskBarItem -TargetFilePath $executable.FullName
}

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.1.1.11 9 Friday, June 14, 2024 Ready
Android Studio (Install) 2023.3.1.20 12 Tuesday, June 11, 2024 Ready
Android Studio (Install) 2023.3.1.18 2414 Wednesday, May 1, 2024 Exempted
Android Studio (Install) 2023.2.1.25 2580 Wednesday, April 10, 2024 Exempted
Android Studio (Install) 2023.2.1.24 22 Tuesday, March 19, 2024 Exempted
Android Studio (Install) 2023.2.1.23 4112 Friday, March 1, 2024 Exempted
Android Studio (Install) 2023.1.1.28 3903 Wednesday, January 24, 2024 Exempted
Android Studio (Install) 2023.1.1.27 4131 Thursday, January 4, 2024 Exempted
Android Studio (Install) 2023.1.1.26 4014 Friday, December 1, 2023 Approved
Android Studio (Install) 2022.3.1.22 2517 Friday, November 17, 2023 Approved
Android Studio (Install) 2022.3.1.21 1991 Wednesday, November 8, 2023 Approved
Android Studio (Install) 2022.3.1.20 4249 Friday, September 29, 2023 Approved
Android Studio (Install) 2022.3.1.19 4605 Tuesday, August 22, 2023 Approved
Android Studio (Install) 2022.3.1.18 3454 Wednesday, July 26, 2023 Approved
Android Studio (Install) 2022.2.1.20 7844 Thursday, May 25, 2023 Approved
Android Studio (Install) 2022.2.1.19 3710 Tuesday, May 2, 2023 Approved
Android Studio (Install) 2022.2.1.18 3565 Friday, April 14, 2023 Approved
Android Studio (Install) 2022.1.1.21 1668 Sunday, April 9, 2023 Approved
Android Studio (Install) 2021.3.1.17 15151 Friday, October 14, 2022 Approved
Android Studio (Install) 2021.3.1.16 3723 Friday, September 16, 2022 Approved
Android Studio (Install) 2021.2.1.16 4353 Thursday, August 4, 2022 Exempted
Android Studio (Install) 2021.2.1.15 5814 Thursday, May 26, 2022 Exempted
Android Studio (Install) 2021.2.1.14 3694 Tuesday, May 10, 2022 Exempted
Android Studio (Install) 2021.1.1.23 3836 Friday, April 8, 2022 Exempted
Android Studio (Install) 2021.1.1.22 2838 Thursday, February 24, 2022 Exempted
Android Studio (Install) 2021.1.1.21 4842 Saturday, February 5, 2022 Exempted
Android Studio (Install) 2021.1.1.20 2500 Wednesday, January 26, 2022 Exempted
Android Studio (Install) 2020.3.1.26 4457 Thursday, December 9, 2021 Exempted
Android Studio (Install) 2020.3.1.25 5310 Tuesday, October 12, 2021 Exempted
Android Studio (Install) 2020.3.1.24 3362 Thursday, September 2, 2021 Exempted
Android Studio (Install) 2020.3.1.23 3412 Friday, August 20, 2021 Exempted
Android Studio (Install) 2020.3.1.22 3187 Thursday, July 29, 2021 Exempted
Android Studio (Install) 4.2.2.0 2535 Thursday, July 1, 2021 Exempted
Android Studio (Install) 4.2.1.0 30237 Friday, May 14, 2021 Exempted
Android Studio (Install) 4.2.0.24 1746 Wednesday, May 12, 2021 Exempted
Android Studio (Install) 4.1.3.0 5730 Monday, March 29, 2021 Approved
Android Studio (Install) 4.1.2.0 5688 Tuesday, February 2, 2021 Approved
Android Studio (Install) 4.1.1.0 3500 Friday, November 13, 2020 Approved
Android Studio (Install) 4.1.0.19 6444 Tuesday, October 20, 2020 Approved
Android Studio (Install) 4.0.2.0 2149 Friday, October 9, 2020 Approved
Android Studio (Install) 4.0.1.0 6654 Wednesday, July 22, 2020 Approved
Android Studio (Install) 4.0.0.16 4691 Thursday, May 28, 2020 Approved
Android Studio (Install) 3.6.3.0 1957 Saturday, May 16, 2020 Approved
Android Studio (Install) 3.6.2.0 3989 Wednesday, April 1, 2020 Approved
Android Studio (Install) 3.6.1.0 3586 Saturday, February 29, 2020 Approved
Android Studio (Install) 3.6.0.21 1423 Tuesday, February 25, 2020 Approved
Android Studio (Install) 3.5.3.0 7421 Friday, December 6, 2019 Approved
Android Studio (Install) 3.5.2.0 5007 Tuesday, November 5, 2019 Approved
Android Studio (Install) 3.5.1.0 3839 Thursday, October 3, 2019 Approved
Android Studio (Install) 3.5.0.21 5780 Wednesday, August 21, 2019 Approved
Android Studio (Install) 3.4.2.0 4915 Wednesday, July 10, 2019 Approved
Android Studio (Install) 3.4.1.0 6583 Thursday, May 16, 2019 Approved
Android Studio (Install) 3.4.0.18 4030 Wednesday, April 17, 2019 Approved
Android Studio (Install) 3.3.2.0 5226 Tuesday, March 5, 2019 Approved
Android Studio (Install) 3.3.1.0 5169 Thursday, February 7, 2019 Approved
Android Studio (Install) 3.3.0.20 3568 Tuesday, January 15, 2019 Approved
Android Studio (Install) 3.2.1.0 7775 Friday, October 12, 2018 Approved
Android Studio (Install) 3.2.0.26 3084 Tuesday, September 25, 2018 Approved
Android Studio (Install) 3.1.4.0 5820 Tuesday, August 7, 2018 Approved
Android Studio (Install) 3.1.3.020180709 2713 Monday, July 9, 2018 Approved
Android Studio 3.1.3.0 2594 Monday, June 11, 2018 Approved
Android Studio 3.1.2.0 5772 Wednesday, April 25, 2018 Approved
Android Studio 3.1.1.0 2856 Wednesday, April 11, 2018 Approved
Android Studio 3.1.0.16 3252 Tuesday, March 27, 2018 Approved
Android Studio 3.0.1.0 11219 Tuesday, November 21, 2017 Approved
Android Studio 3.0.0.18 1668 Friday, October 27, 2017 Approved
Android Studio 2.3.3.0 3239 Friday, August 11, 2017 Approved
Android Studio 2.3.1.0 2884 Wednesday, April 19, 2017 Approved
Android Studio 2.3.0.8 1860 Saturday, March 4, 2017 Approved
Android Studio 2.2.2.0 2934 Friday, October 28, 2016 Approved
Android Studio 2.1.3.0 1973 Monday, August 22, 2016 Approved
Android Studio 2.1.2.1 615 Saturday, August 13, 2016 Approved
Android Studio 2.1.2.0 983 Tuesday, June 28, 2016 Approved
Android Studio 2.1.1.0 522 Thursday, May 12, 2016 Approved
Android Studio 2.0.0.20 479 Thursday, May 12, 2016 Approved
Android Studio 1.5.1.0 1710 Wednesday, December 30, 2015 Approved
Android Studio 1.5.0.0 458 Wednesday, December 30, 2015 Approved
Android Studio 1.4.1.0 469 Wednesday, December 30, 2015 Approved
Android Studio 1.4.0.10 623 Thursday, October 8, 2015 Approved
Android Studio 1.3.1.0 488 Tuesday, August 18, 2015 Approved
Android Studio 1.3.0.10 1244 Tuesday, August 4, 2015 Approved
Android Studio 1.2.1.1 490 Saturday, June 6, 2015 Approved
Android Studio 1.1.0 1566 Tuesday, February 24, 2015 Approved
Android Studio 0.3.2.132893413 1725 Friday, January 3, 2014 Approved
Android Studio 0.2.130.737825 745 Tuesday, July 23, 2013 Approved
Android Studio 0.1.130.677228 683 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