Android Studio Silent Install (How-To Guide)


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. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Android Studio from the command line using the EXE installer.

How to Install Android Studio Silently

Android Studio Silent Install (EXE)

  1. Navigate to: https://developer.android.com/studio
  2. Download & Copy the android-studio-x.y.z-windows.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: android-studio-x.y.z-windows.exe /S
  6. Press Enter

After a few moments you will find Android Studio entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Android Studio
Vendor:Google LLC
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:android-studio-x.y.z-windows.exe /S
Silent Uninstall Switch:"%ProgramFiles%\Android\Android Studio\uninstall.exe" /S
Download Link:https://developer.android.com/studio
PowerShell Script:https://silentinstallhq.com/android-studio-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-android-studio-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Include Latest Android SDK Update (1GB+) – Default User Profile

By default each user has to launch Android Studio and then initiate a (1GB+) download to get the latest Android SDK update. You can include the SDK update with your deployment for new user profiles by using the following steps.

  1. Install Android Studio
  2. Launch Android Studio to download the latest Android SDK update (1GB+)
  3. Copy the contents from “C:\Users\%username%\AppData\Local\Android\Sdk” to “C:\Downloads\Sdk”
    • You should now see a similar structure inside the “C:\Downloads\Sdk” directory
      • .temp
      • build-tools
      • emulator
      • extras
      • patcher
      • platforms
      • platform-tools
      • sources
      • tools
      • .knownPackages
  4. Uninstall Android Studio
  5. Delete the “C:\Users\%username%\AppData\Local\Android\Sdk” directory
  6. Enter the following commands:
android-studio-x.y.z-windows.exe /S
MKDIR "C:\Users\Default\AppData\Local\Android\Sdk"
XCOPY /s /y "C:\Downloads\Sdk" "C:\Users\Default\AppData\Local\Android\Sdk\"

Include Latest Android SDK Update (1GB+) – Current User Profile

By default each user has to launch Android Studio and then initiate a (1GB+) download to get the latest Android SDK update. You can include the SDK update with your deployment for the logged on user by using the following steps.

Visual Studio Code Silent Install (...
Visual Studio Code Silent Install (How-To Guide)
  1. Install Android Studio
  2. Launch Android Studio to download the latest Android SDK update (1GB+)
  3. Copy the contents from “C:\Users\%username%\AppData\Local\Android\Sdk” to “C:\Downloads\Sdk”
    • You should now see a similar structure inside the “C:\Downloads\Sdk” directory
      • .temp
      • build-tools
      • emulator
      • extras
      • patcher
      • platforms
      • platform-tools
      • sources
      • tools
      • .knownPackages
  4. Uninstall Android Studio
  5. Delete the “C:\Users\%username%\AppData\Local\Android\Sdk” directory
  6. Enter the following commands:
android-studio-x.y.z-windows.exe /S
XCOPY /s /y "C:\Downloads\Sdk" "%LocalAppData%\Android\Sdk\"

How to Uninstall Android Studio Silently

Check out the following posts for a scripted solution:

Android Studio Install and Uninstall (PowerShell)
Android Studio Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following commands:

Android Studio Silent Uninstall (EXE)

"%ProgramFiles%\Android\Android Studio\uninstall.exe" /S
DEL "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Android Studio\Android Studio.lnk"

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts