Google is committed to advancing racial equity for Black communities. See how.
Setting up Android Studio takes just a few clicks.
First, be sure you download the latest version of Android Studio.
Once installed, you get the Welcome to Android Studio window: Click on the Configure Button and select SDK Manager: In the left pane select Android SDK. On the right pane, select the SDK Platforms Tab and select the SDKs for API level 22 up to 24. Click the OK button to download and install these Android SDKs. Android File Transfer. Browse and transfer files between your Mac computer and your Android device. For Mac OS X only. No extra software is needed for Windows. For Windows and macOS interactive installations, and all other use cases, run the interactive installer to install the latest release of Cloud SDK. What's in the box? All of the installation methods above install the default Cloud SDK components, which include gcloud, gsutil and bq command-line tools.
Windows
![Android Android](https://wallpapersite.com/images/wallpapers/colorful-1440x2560-spectrum-gamut-pieces-hd-5k-9812.jpg)
To install Android Studio on Windows, proceed as follows:
- 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 launchstudio64.exe
(for 64-bit machines) orstudio.exe
(for 32-bit machines). - Follow the setup wizard in Android Studio and install any SDK packages that it recommends.
![Android Sdk Macos Download Android Sdk Macos Download](/uploads/1/3/4/0/134032756/772472578.jpg)
That's it.The following video shows each step of the setup procedure when using the recommended
.exe
download.As new tools and other APIs become available, Android Studio tells youwith 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:
- Launch the Android Studio DMG file.
- Drag and drop Android Studio into the Applications folder, then launch Android Studio.
- Select whether you want to import previous Android Studio settings, 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.
That's it.The following video shows each step of the recommended setup procedure.
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Android Studio> Check for Updates.
Note: If you use Android Studio on macOS Mojave or later, you might see a prompt to allow the IDE to access your calendar, contacts, or photos. This prompt is caused by new privacy protection mechanisms for applications that access files under the home directory. So, if your project includes files and libraries in your home directory, and you see this prompt, you can select Don't Allow.
Linux
To install Android Studio on Linux, proceed as follows:
- 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.If you're using a 64-bit version of Linux, make sure you first install the required libraries for 64-bit machines. - To launch Android Studio, open a terminal, navigate to the
android-studio/bin/
directory, and executestudio.sh
. - 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, selectTools > 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-bitlibraries with the following command:
If you are running 64-bit Fedora, the command is:
That's it.The following video shows each step of the recommended setup procedure.
As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Chrome OS
Follow these steps to install Android Studio on Chrome OS:
- If you haven't already done so, install Linux for Chrome OS.
- Open the Files app and locate the DEB package you downloaded in theDownloads folder under My files.
- Right-click the DEB package and select Install with Linux (Beta).
- If you have installed Android Studio before, select whether you want toimport previous Android Studio settings, then click OK.
- The Android Studio Setup Wizard guides you through the rest of thesetup, which includes downloading Android SDK components that arerequired for development.
- After installation is complete, launch Android Studio either from theLauncher, or from the Chrome OS Linux terminal by running
studio.sh
inthe default installation directory:/opt/android-studio/bin/studio.sh
That's it. As new tools and other APIs become available, Android Studio tells youwith a pop-up, or you can check for updates by clicking Help >Check for Update.
Note: Android Studio on Chrome OS currently supports deploying your app only toa connected hardware device. To learn more, read Run apps on a hardwaredevice. Google is committed to advancing racial equity for Black communities. See how.
The
sdkmanager
is a command line tool that allows you to view, install,update, and uninstall packages for the Android SDK. If you're using AndroidStudio, then you do not need to use this tool and you can instead manage yourSDK packages from the IDE.The
sdkmanager
tool is provided in the Android SDK Tools package(25.2.3 and higher) and is located inandroid_sdk/tools/bin/
.Usage
Android Sdk Mac Download
You can use the
sdkmanager
to perform the following tasks.List installed and available packages
Use the
Note: To list only stable packages, use channel
option to include a package from a channel up to andincludingchannel_id
. For example, specify the canary channel to list packagesfrom all channels.--channel=0
or remove the --channel
option entirely.Install packages
The packages argument is an SDK-style path as shown withthe
--list
command, wrapped in quotes (for example,'build-tools;29.0.2'
or'platforms;android-28'
). You can pass multiple packagepaths, separated with a space, but they must each be wrapped in their own set ofquotes.For example, here's how to install the latest platform tools (which includes
adb
and fastboot
) and the SDK tools for API level 28:Alternatively, you can pass a text file that specifies all packages:
The package_file argument is the location of a text file in whicheach line is an SDK-style path of a package to install (without quotes).
To uninstall, simply add the
--uninstall
flag:Android Sdk For Mac
To install CMake or the NDK, use the following syntax:
For example, use the following command to install the specified NDK version regardlessof which channel it is currently on.
Update all installed packages
Options
The following table lists the available options for the above commands.
Mac Install Android Sdk
Option | Description |
---|---|
--sdk_root=path | Use the specified SDK path instead of the SDK containing this tool |
--channel=channel_id | Include packages in channels up to and including channel_id. Available channels are:0 (Stable), 1 (Beta), 2 (Dev), and 3 (Canary). |
--include_obsolete | Include obsolete packages in the package listing or package updates. For use with --list and --update only. |
--no_https | Force all connections to use HTTP rather than HTTPS. |
--verbose | Verbose output mode. Errors, warnings and informational messages are printed. |
--proxy={http | socks} | Connect via a proxy of the given type: either http for high level protocols such as HTTP or FTP, or socks for a SOCKS (V4 or V5) proxy. |
--proxy_host={IP_address | DNS_address} | IP or DNS address of the proxy to use. |
--proxy_port=port_number | Proxy port number to connect to. |
Android Sdk Path Mac
If you want to install packages for anoperating system different from the current machine, set theREPO_OS_OVERRIDE
environment variable to either 'windows', 'macosx', or 'linux'.