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:

352,597

Downloads of v 3.1.3.020180709:

2,731

Last Update:

09 Jul 2018

Package Maintainer(s):

Software Author(s):

  • Google JetBrains

Tags:

google android studio androidstudio cross-platform admin

Android Studio (Install)

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

  • 1
  • 2
  • 3

3.1.3.020180709 | Updated: 09 Jul 2018

Downloads:

352,597

Downloads of v 3.1.3.020180709:

2,731

Software Author(s):

  • Google JetBrains

Android Studio (Install) 3.1.3.020180709

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:

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

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


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

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


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

Package Approved

This package was approved as a trusted package on 09 Jul 2018.

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"'.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64      = 'https://dl.google.com/dl/android/studio/install/3.1.3.0/android-studio-ide-173.4819257-windows.exe'
$checksum64 = '2d11cd16ffefc7f4aca82bd95b0d0ca849a854a07ba1a353adf65dfc102aee9b'

$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.10 2013 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 3138 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 4143 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 7925 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 3858 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 2180 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 4868 Thursday, May 28, 2020 Approved
Android Studio (Install) 3.6.3.0 1982 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 3107 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 2963 Friday, October 28, 2016 Approved
Android Studio 2.1.3.0 1996 Monday, August 22, 2016 Approved
Android Studio 2.1.2.1 651 Saturday, August 13, 2016 Approved
Android Studio 2.1.2.0 1003 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 497 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 1266 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