# Setting up Android Studio

Setting up Android Studio takes just a few clicks.

First, be sure you [download the latest version of Android Studio](https://developer.android.com/studio/).

## Windows

To install Android Studio on Windows, proceed as follows:

1. If you downloaded an `.exe` file (recommended), double-click to launch it. If you downloaded a `.zip` file, unpack the ZIP, copy the **android-studio** folder into your **Program Files** folder, and then open the **android-studio > bin** folder and launch `studio64.exe` (for 64-bit machines) or `studio.exe` (for 32-bit machines).
2. Follow the setup wizard in Android Studio and install any SDK packages that it recommends.

That's it. As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking **Help > Check for Update**.

## Mac

To install Android Studio on your Mac, proceed as follows:

1. Launch the Android Studio DMG file.
2. Drag and drop Android Studio into the Applications folder, then launch Android Studio.
3. Select whether you want to import previous Android Studio settings, then click **OK**.
4. The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

That's it. As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking **Android Studio > Check for Updates**.

## Linux

To install Android Studio on Linux, proceed as follows:

1. Unpack the `.zip` file you downloaded to an appropriate location for your applications, such as within `/usr/local/` for your user profile, or`/opt/` for shared users.
2. To launch Android Studio, open a terminal, navigate to the `android-studio/bin/` directory, and execute `studio.sh`.
3. Select whether you want to import previous Android Studio settings or not, then click **OK**. The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

*Tip: To make Android Studio available in your list of applications, select **Tools > Create Desktop Entry** from the Android Studio menu bar.*

**Required libraries for 64-bit machines:**

If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

```bash
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
```

If you are running 64-bit Fedora, the command is:

```bash
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
```

That's it. As new tools and other APIs become available, Android Studio tells you with a pop-up, or you can check for updates by clicking **Help > Check for Update**.

## [More Android Studio Help](https://android-course.cornellappdev.com/chapters/1.-introduction-to-the-editor/1.5-demo-wip)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://android-course.cornellappdev.com/resources/0.-setting-up-android-studio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
