Download and install Android Studio

1. Before you begin

In this codelab, you will install Android Studio.

Android Studio is the official integrated development environment (IDE) for Android app development, built and distributed by Google. An IDE contains tools that enable software developers to design, build, run, and test software, in this case, apps for the Android platform. Android Studio uses IntelliJ IDEA as its foundation and includes the Android plugin pre-installed along with some modifications specifically for the Android platform.

Prerequisites

  • Intermediate computer skills, familiarity with files and folders, and using apps, such as a spreadsheet, word processor, or photo editor.
  • Ability to download, install, and update software.

What you'll learn

  • How to check that your computer configuration meets the minimum requirements for running Android Studio.
  • How to download and install the Android Studio.

What you'll need

  • A computer running a 64-bit version of Windows (8, 10, or 11), Linux, macOS (10.14 Mojave or later), or ChromeOS.
  • Internet access for your computer.

2. Windows: Verify system requirements

Android Studio system requirements

The following are the system requirements for Android Studio on Windows.

  • 64-bit Microsoft® Windows® 8/10/11
  • x86_64 CPU architecture; 2nd generation Intel Core or newer, or AMD CPU with support for a Windows Hypervisor
  • 8 GB RAM or more
  • 8 GB of available disk space minimum (IDE + Android SDK + Android Emulator)
  • 1280 x 800 minimum screen resolution

Check system requirements (Windows 10)

On a Windows computer, you can find all the information that you need to verify the system requirements in the Settings app.

  1. Open Settings.
  1. Click System.
  2. At the bottom of the left-hand navigation pane, click About.
  3. Make sure that the Windows specifications meet or exceed the requirements. e37a2f51fc945235.png
  4. Select Device specifications. Make sure that the Installed RAM is at least as much as is required and that the system type is the 64-bit version of the operating system.

d57ac05cc5c74047.png

  1. In the navigation pane, click Display. Make sure that the Resolution is the same or better than what's required.

45f3ba97421c68e0.png

Verify storage

  1. Open the file explorer.
  2. In the left-hand navigation pane, click This PC.
  3. Ensure that the local storage has enough free space to install Android Studio.

4748e8a455b8cdba.png

Check system requirements (Windows 8.1)

If you're using Windows 8.1, the steps to find device specifications are as follows:

  1. Open the Settings App.
  2. In the navigation pane, click PC and devices.
  3. In the navigation pane, click PC info. Check that your CPU and RAM meet the minimum requirements, and ensure you're using a 64-bit operating system.

71f9a2e30fb16593.png

  1. In the navigation pane, click Display. Check that your display meets the requirements. 97c48dd5bda38ee7.png
  2. Open the file explorer, click This PC, and check that you have enough disk space. 19ab36acd1dbffea.png

3. Windows: Download and install Android Studio

Download Android Studio

  1. Open any web browser and navigate to the Android Studio download page.

This is the Android Developers website, where you can download Android Studio. This page automatically detects your operating system.

  1. Click Download Android Studio. The Terms and Conditions page with the Android Studio License Agreement opens.
  2. Read the License Agreement.
  3. At the bottom of the page, if you agree with the terms and conditions, select the I have read and agree with the above terms and conditions checkbox.
  4. Click Download Android Studio to start the download.
  5. When prompted, save the file to a location where you can easily locate it, such as the Downloads folder.
  6. Wait for the download to complete. This may take a while and may be a good moment to enjoy some tea!

Install Android Studio on Windows

  1. Open the folder where you downloaded and saved the Android Studio installation file.
  2. Double-click the downloaded file.
  3. If you see a User Account Control dialog about allowing the installation to make changes to your computer, click Yes to confirm the installation.

d01a8cfe00b9b80b.png

The Welcome to Android Studio Setup dialog displays.

82d03b4157cdc3ad.png

  1. Click Next to start the installation.
  2. Accept the default installation settings for all steps.
  3. Click Finish when the installation is done to launch Android Studio.

6a7eba659ca0d6f1.png

  1. Choose your preference of light or dark theme when Android Studio first launches. Screenshots in this course use the light theme, but choose whichever one you prefer.

e91289b2f9f25157.png

  1. During the installation, the setup wizard downloads and installs additional components and tools needed for Android app development. This may take some time depending on your internet speed. During this time, you may see a User Account Control dialog for Windows Command Processor. Click Yes to accept the dialog.

22f23c1915646d8f.png

  1. You may also receive a Windows Security Alert about adb.exe. Click Allow Access, if needed, to continue the installation.

785f9241b5a8f766.png

  1. When the download and installation completes, click Finish.

The Welcome to Android Studio window displays and you're ready to start creating apps!

e32573db6eb94acb.png

4. macOS: Verify system requirements

Android Studio system requirements (macOS)

The following are the system requirements for Android Studio on macOS.

  • MacOS® 10.14 (Mojave) or higher
  • ARM-based chips, or 2nd generation Intel Core or newer with support for Hypervisor Framework
  • 8 GB RAM or more
  • 8 GB of available disk space minimum (IDE + Android SDK + Android Emulator)
  • 1280 x 800 minimum screen resolution

Check system requirements

  1. Select 9a4d269f5ee241c3.png> About This Mac.
  2. In the dialog, under the Overview tab, look for the OS version number and ensure that it's within the required range.
  3. In the Memory tab, check that the listed total memory meets or exceeds the required minimum.

For example, in the screenshot below, the OS version is 12.2.1 and memory is 16 GB.

b8eef3db98e80c31.png

  1. In the same dialog, click the Displays tab.
  2. In the description of the display, ensure that your computer's screen resolution meets or exceeds the recommended resolution.

3a78f1bd1d8755ff.png

  1. Click the Storage tab.
  2. Check the available disk space and ensure that it meets or exceeds the required disk space for installing and running Android Studio.

81d58d93c4999d0c.png

5. macOS: Download and install Android Studio

Download Android Studio

  1. Open any web browser and navigate to the Android Studio download page. This is the Android Developers website, where you can download Android Studio. This page automatically detects your operating system.
  2. Click Download Android Studio. The Terms and Conditions page with the Android Studio License Agreement opens.
  3. Read the License Agreement.
  4. At the bottom of the page, if you agree with the terms and conditions, select the I have read and agree with the above terms and conditions checkbox.
  5. Click Mac with Intel chip or Mac with Apple chip to start the download.
  6. When prompted, save the file to a location where you can easily locate it, such as the Downloads folder.
  7. Wait for the download to complete. This may take a while and may be a good moment to enjoy some tea!

Install Android Studio on macOS

  1. Open the folder where you downloaded and saved the Android Studio installation file.
  2. Double-click the downloaded file. The following dialog displays:

48e880ca6b15ce12.png

  1. Drag the Android Studio icon to the Applications folder.
  2. In the Applications folder, double-click the Android Studio icon to launch the Android Studio Setup Wizard.
  3. If you see a warning about installing or running a file downloaded from the Internet, accept the installation.

26d72a52b817756e.png

  1. Follow the Android Studio Setup Wizard and accept the default settings for all steps. During the installation, the setup wizard downloads and installs additional components and tools needed for Android app development. This may take some time, depending on your internet speed. So, you could go refill your tea cup!
  2. When the installation completes, Android Studio starts automatically.

The Welcome to Android Studio window opens and you're ready to start creating apps!

46481d6fa7a5b2d5.png

6. Linux: Verify system requirements

Android Studio system requirements

The following are the Android Studio system requirements for Linux.

  • Any 64-bit Linux distribution that supports Gnome, KDE, or Unity DE; GNU C Library (glibc) 2.31 or later.
  • x86_64 CPU architecture; 2nd generation Intel Core or newer, or AMD processor with support for AMD Virtualization (AMD-V) and SSSE3
  • 8 GB RAM or more
  • 8 GB of available disk space minimum (IDE + Android SDK + Android Emulator)
  • 1280 x 800 minimum screen resolution

Check system requirements

Use the terminal commands to check if your computer meets the hardware requirements before installing.

  1. Use lscpu to check your processor specifications.
lscpu

1b21e5a271358b4d.png

  1. Use the free command to check total system memory.

The output is in megabytes, so the system below has 32 GB of total memory.

free -m

7f27191ef2dcab70.png

  1. Use the df command to check available disk space.
df -h

bbc93fd8434457e5.png

  1. Use xrandr to check the screen resolution.
xrandr | grep '*'

cb59ad579a5d500b.png

7. Linux: Download and install Android Studio

Download Android Studio

  1. Open any web browser and navigate to the Android Studio download page.
  2. This is the Android Developers website, where you can download Android Studio. This page automatically detects your operating system. Click Download Android Studio. The Terms and Conditions page with the Android Studio License Agreement opens.
  3. Read the License Agreement.
  4. At the bottom of the page, if you agree with the terms and conditions, select the I have read and agree with the above terms and conditions checkbox.
  5. Click Download Android Studio to start the download.
  6. When prompted, save the file to a location where you can easily locate it, such as the Downloads folder.
  7. Wait for the download to complete. This may take a while and may be a good moment to enjoy some tea!

Install Android Studio on Linux

b4227dc325a0d88e.png

Open the Downloads folder in the terminal.

  1. Extract the archive with the tar command.
tar -xzvf android-studio-2022.2.1.20-linux.tar.gz
  1. Navigate to the android-studio/bin directory.
cd android-studio/bin
  1. Run studio.sh
./studio.sh
  1. Keep Do not import settings selected and click OK on the prompt.

da78acc3fe00d3d1.png

  1. Choose whether or not to share usage data with Google.

452dfd9799b9445.png

  1. Keep Standard as the selected install type. Click Next to continue.

f066c9371aff4900.png

  1. Choose your preference of light or dark theme. Screenshots in this course use the light theme, but choose whichever one you prefer. You can always change this later.

94c5ef155301e63f.png

  1. Accept all the default settings and click Next.

6b0a242ab7ac238b.png

  1. Read and agree to the License Agreement for the Android SDK and Android NDK, and click Next.

25cc1be6f2679d09.png

  1. You may also see some additional information about hardware acceleration and the Android emulator. Click Finish.

687d2bf45a4756e.png

  1. During the installation, the setup wizard downloads and installs additional components and tools needed for Android app development.

38f6d6410fd543f3.png

When the installation is complete, click Finish.

8ecdc0b3483ab8cd.png

  1. The Welcome to Android Studio dialog displays and you're ready to start creating apps!

ce74de482bc8844a.png

8. Conclusion

Congratulations! You've successfully installed Android Studio. Now you're ready for the next step!

If you ran into any technical difficulties with the installation steps, refer to the troubleshooting guide.

Summary

  • An Integrated Development Environment, or IDE, is a collection of tools for developing software.
  • Android Studio is the IDE based on IntelliJ IDEA used for Android development.

Learn more