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

2024.2.1.11 | Updated: 01 Nov 2024

Downloads:

352,269

Downloads of v 2024.2.1.11:

1,526

Software Author(s):

  • Google JetBrains

Android Studio (Install) 2024.2.1.11

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:

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: '2024.2.1.11'
    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  '2024.2.1.11'
end

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


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

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


package { 'androidstudio':
  ensure   => '2024.2.1.11',
  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

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/2024.2.1.11/android-studio-2024.2.1.11-windows.exe'
$checksum   = '0b4433794d816fc3062d7ec8507a203580d991f5e8ddd51cc71a78925493a16d'
$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.2.1.10 2011 Tuesday, October 15, 2024 Exempted
Android Studio (Install) 2024.2.1.9 3352 Wednesday, October 2, 2024 Exempted
Android Studio (Install) 2024.1.2.12 3137 Friday, August 30, 2024 Exempted
Android Studio (Install) 2024.1.1.13 4423 Friday, August 9, 2024 Exempted
Android Studio (Install) 2024.1.1.12 3671 Friday, July 12, 2024 Exempted
Android Studio (Install) 2024.1.1.11 1041 Friday, June 14, 2024 Exempted
Android Studio (Install) 2023.3.1.20 39 Tuesday, June 11, 2024 Exempted
Android Studio (Install) 2023.3.1.19 4776 Tuesday, May 21, 2024 Exempted
Android Studio (Install) 2023.3.1.18 2440 Wednesday, May 1, 2024 Exempted
Android Studio (Install) 2023.2.1.25 2610 Wednesday, April 10, 2024 Exempted
Android Studio (Install) 2023.2.1.24 45 Tuesday, March 19, 2024 Exempted
Android Studio (Install) 2023.2.1.23 4142 Friday, March 1, 2024 Exempted
Android Studio (Install) 2023.1.1.28 3989 Wednesday, January 24, 2024 Exempted
Android Studio (Install) 2023.1.1.27 4167 Thursday, January 4, 2024 Exempted
Android Studio (Install) 2023.1.1.26 4044 Friday, December 1, 2023 Approved
Android Studio (Install) 2022.3.1.22 2540 Friday, November 17, 2023 Approved
Android Studio (Install) 2022.3.1.21 2016 Wednesday, November 8, 2023 Approved
Android Studio (Install) 2022.3.1.20 4275 Friday, September 29, 2023 Approved
Android Studio (Install) 2022.3.1.19 4625 Tuesday, August 22, 2023 Approved
Android Studio (Install) 2022.3.1.18 3473 Wednesday, July 26, 2023 Approved
Android Studio (Install) 2022.2.1.20 7922 Thursday, May 25, 2023 Approved
Android Studio (Install) 2022.2.1.19 3742 Tuesday, May 2, 2023 Approved
Android Studio (Install) 2022.2.1.18 3592 Friday, April 14, 2023 Approved
Android Studio (Install) 2022.1.1.21 1712 Sunday, April 9, 2023 Approved
Android Studio (Install) 2021.3.1.17 15193 Friday, October 14, 2022 Approved
Android Studio (Install) 2021.3.1.16 3753 Friday, September 16, 2022 Approved
Android Studio (Install) 2021.2.1.16 4380 Thursday, August 4, 2022 Exempted
Android Studio (Install) 2021.2.1.15 5839 Thursday, May 26, 2022 Exempted
Android Studio (Install) 2021.2.1.14 3722 Tuesday, May 10, 2022 Exempted
Android Studio (Install) 2021.1.1.23 3857 Friday, April 8, 2022 Exempted
Android Studio (Install) 2021.1.1.22 2856 Thursday, February 24, 2022 Exempted
Android Studio (Install) 2021.1.1.21 4856 Saturday, February 5, 2022 Exempted
Android Studio (Install) 2021.1.1.20 2528 Wednesday, January 26, 2022 Exempted
Android Studio (Install) 2020.3.1.26 4482 Thursday, December 9, 2021 Exempted
Android Studio (Install) 2020.3.1.25 5337 Tuesday, October 12, 2021 Exempted
Android Studio (Install) 2020.3.1.24 3383 Thursday, September 2, 2021 Exempted
Android Studio (Install) 2020.3.1.23 3441 Friday, August 20, 2021 Exempted
Android Studio (Install) 2020.3.1.22 3208 Thursday, July 29, 2021 Exempted
Android Studio (Install) 4.2.2.0 2571 Thursday, July 1, 2021 Exempted
Android Studio (Install) 4.2.1.0 30258 Friday, May 14, 2021 Exempted
Android Studio (Install) 4.2.0.24 1769 Wednesday, May 12, 2021 Exempted
Android Studio (Install) 4.1.3.0 5773 Monday, March 29, 2021 Approved
Android Studio (Install) 4.1.2.0 5708 Tuesday, February 2, 2021 Approved
Android Studio (Install) 4.1.1.0 3528 Friday, November 13, 2020 Approved
Android Studio (Install) 4.1.0.19 6468 Tuesday, October 20, 2020 Approved
Android Studio (Install) 4.0.2.0 2179 Friday, October 9, 2020 Approved
Android Studio (Install) 4.0.1.0 6687 Wednesday, July 22, 2020 Approved
Android Studio (Install) 4.0.0.16 4864 Thursday, May 28, 2020 Approved
Android Studio (Install) 3.6.3.0 1981 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 3607 Saturday, February 29, 2020 Approved
Android Studio (Install) 3.6.0.21 1445 Tuesday, February 25, 2020 Approved
Android Studio (Install) 3.5.3.0 7449 Friday, December 6, 2019 Approved
Android Studio (Install) 3.5.2.0 5034 Tuesday, November 5, 2019 Approved
Android Studio (Install) 3.5.1.0 3858 Thursday, October 3, 2019 Approved
Android Studio (Install) 3.5.0.21 5806 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 6608 Thursday, May 16, 2019 Approved
Android Studio (Install) 3.4.0.18 4060 Wednesday, April 17, 2019 Approved
Android Studio (Install) 3.3.2.0 5262 Tuesday, March 5, 2019 Approved
Android Studio (Install) 3.3.1.0 5191 Thursday, February 7, 2019 Approved
Android Studio (Install) 3.3.0.20 3583 Tuesday, January 15, 2019 Approved
Android Studio (Install) 3.2.1.0 7792 Friday, October 12, 2018 Approved
Android Studio (Install) 3.2.0.26 3106 Tuesday, September 25, 2018 Approved
Android Studio (Install) 3.1.4.0 5851 Tuesday, August 7, 2018 Approved
Android Studio (Install) 3.1.3.020180709 2731 Monday, July 9, 2018 Approved
Android Studio 3.1.3.0 2619 Monday, June 11, 2018 Approved
Android Studio 3.1.2.0 5800 Wednesday, April 25, 2018 Approved
Android Studio 3.1.1.0 2877 Wednesday, April 11, 2018 Approved
Android Studio 3.1.0.16 3274 Tuesday, March 27, 2018 Approved
Android Studio 3.0.1.0 11245 Tuesday, November 21, 2017 Approved
Android Studio 3.0.0.18 1692 Friday, October 27, 2017 Approved
Android Studio 2.3.3.0 3276 Friday, August 11, 2017 Approved
Android Studio 2.3.1.0 2916 Wednesday, April 19, 2017 Approved
Android Studio 2.3.0.8 1880 Saturday, March 4, 2017 Approved
Android Studio 2.2.2.0 2962 Friday, October 28, 2016 Approved
Android Studio 2.1.3.0 1996 Monday, August 22, 2016 Approved
Android Studio 2.1.2.1 650 Saturday, August 13, 2016 Approved
Android Studio 2.1.2.0 1002 Tuesday, June 28, 2016 Approved
Android Studio 2.1.1.0 554 Thursday, May 12, 2016 Approved
Android Studio 2.0.0.20 499 Thursday, May 12, 2016 Approved
Android Studio 1.5.1.0 1733 Wednesday, December 30, 2015 Approved
Android Studio 1.5.0.0 474 Wednesday, December 30, 2015 Approved
Android Studio 1.4.1.0 494 Wednesday, December 30, 2015 Approved
Android Studio 1.4.0.10 649 Thursday, October 8, 2015 Approved
Android Studio 1.3.1.0 511 Tuesday, August 18, 2015 Approved
Android Studio 1.3.0.10 1265 Tuesday, August 4, 2015 Approved
Android Studio 1.2.1.1 525 Saturday, June 6, 2015 Approved
Android Studio 1.1.0 1590 Tuesday, February 24, 2015 Approved
Android Studio 0.3.2.132893413 1747 Friday, January 3, 2014 Approved
Android Studio 0.2.130.737825 770 Tuesday, July 23, 2013 Approved
Android Studio 0.1.130.677228 703 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