Development of mobile applications for Android begins with installation Android Studio โthe official development environment from Google. This powerful tool combines a code editor, device emulators, a debugger, and a ton of useful plugins. However, beginners are often intimidated by the installation process: do they need to pre-configure Java? How to avoid mistakes when you first start? And why can the installer freeze at the stage of loading components?
In this article we will analyze the installation Android Studio on Windows 10 step by step - from checking system requirements to creating the first virtual device. We will pay special attention to typical problems (for example, slow loading Gradle or absence SDK after installation) and give practical advice on optimizing the environment. If you plan to develop applications for Android 13+ or test them on an emulator with Google Play Services, these instructions will help you avoid hours of pointless searching for solutions in the documentation.
System requirements: checking PC compatibility
Before installation Android Studio Make sure your computer meets the minimum requirements. The official documentation Google indicates the following parameters for Windows 10 (64-bit):
- ๐ฅ๏ธ Processor: minimum Intel Core i5 or similar from AMD (recommended i7/Ryzen 7 for emulation Android 12+).
- ๐ง RAM: 8 GB (16 GB for comfortable work with the emulator and
Gradle). - ๐พ Disk space: 4 GB for itself Android Studio + 1โ2 GB for
SDKi cache. - ๐ฑ๏ธ Screen resolution: minimum
1280ร800(for ease of working with the interface).
Important: if you have Windows 10 Home, check support hypervisor (required for the accelerated emulator Android). To do this, open Control Panel โ apps โ Enable or disable components Windows and make sure that the following are checked:
- ๐น
Hyper-V(includingHyper-V virtualization platformandHyper-V service). - ๐น
Subsystem Windows for Linux (WSL)- useful for some development tools.
โ ๏ธ Attention: On laptops with processors Intel 7th generation and older, you may need to manually enable virtualization inBIOS(optionVT-xorSVM ModeWithout this, the emulator Android will work extremely slowly.
To check virtualization support, run in Command line (Win + R โ cmd):
systeminfo | findstr /B /C:"Hypervisor"
If you see in the response Hypervisor requirement: Yes, everything is fine. Otherwise, refer to the documentation of the motherboard.
Preparing the system: installing Java and setting up variables
Android Studio requires Java Development Kit (JDK) version 8 or 11. Despite the fact that the latest version of the environment includes built-in OpenJDK, some plugins and tools may require separate installation. We recommend using JDK 11 from Amazon Corretto or AdoptOpenJDK โthey are optimized for development.
Download JDK from the official website:
- ๐ Amazon Corretto 11 (free, without excess water).
- ๐ AdoptOpenJDK (select version
11 (LTS)).
Install JDKfollowing the instructions of the wizard. After installation, you need to add the path to Java to environment variables PATH:
- Open
Control Panel โ System โ Additional system settings โ Environment variables. - In the section
System variablesfindPath, clickChange. - Add a new path:
C:\app Files\Amazon Corretto\jdk11.0.xx_xx\bin(replacexx_xxwith your version).
Check the installation by running in cmd:
java -version
Should be displayed version 11.x.x. If you see an error 'java' is not an internal or external command restart your PC and check again.
โ ๏ธ Attention: If another version is already installed on your PC Java (for example, JDK 17 for Minecraft), Android Studio may conflict with it. In this case, either remove unnecessary versions or explicitly specify the path to JDK 11 in the project settings.
โ๏ธ Preparing to install Android Studio
Downloading and installing Android Studio: step-by-step process
Now let's move on to downloading Android Studio. Use only the official source to avoid viruses and modified assemblies:
- Go to the download page: ๐ developer.android.com/studio.
- Click
Download Android Studio(select the version for Windows). - Accept the terms of the license agreement and wait for the download to complete (the file weighs ~1.2 GB).
After downloading, run the installer (android-studio-YYYY.M.Patch.exe, where YYYY.M.Patch is the version). Follow the instructions of the wizard:
- ๐ Select the installation path (default
C:\app Files\Android\Android Studio). Do not install on a disk with a small amount places! - ๐ง Check the boxes:
- ๐น
Android Studio(main component). - ๐น
Android Virtual Device(for creating emulators). - ๐น
Android SDK(set of development tools).
- ๐น
- ๐ฅ๏ธ Select a design theme (
LightorDarculais a dark theme, popular among developers).
The installation process will take 5-15 minutes depending on the performance of the PC. At the stage Downloading Components the installer may freeze - this is normal if the progress indicator is moving. If the download is interrupted, check your internet connection and disable the VPN (some servers Google block traffic from certain regions).
โ ๏ธ Attention: Antiviruses (Avast, Kaspersky) can block the installation ofSDKor emulators. Add the folderC:\Users\YourName\AppData\Local\Android\Sdkto your antivirus exceptions or temporarily disable it.
What to do if the installer does not starts?
If an error appears when starting a file .exe file error appears 0xc000007b, most likely there are no libraries on your PC Microsoft Visual C++ Redistributable. Download them from the official website Microsoft (select versions for 2015โ2022) and restart the installer.
First launch and setup of Android Studio
After installation, launch Android Studio via a shortcut on your desktop table. When you launch it for the first time, the setup wizard will offer to import settings from the previous version (if there was one) or start from scratch. Select Do not import settings and click OK.
Next follow the steps of the wizard:
- License agreement: Accept the terms of use (checkbox
I accept). - Select installation type:
- ๐
Standardโ recommended for beginners (installSDKand the emulator automatically). - ๐
Customโ for experienced users (allows you to select components manually).
- ๐
Light and Darcula.SDK. If you see a warning about the absence of Android SDK Command-line Tools, click Next โthey will be installed later.At stage Download Components Android Studio will load:
- ๐ฆ
Android SDK Platform(platform for building applications). - ๐ฅ๏ธ
Android Emulator(tool for testing on virtual devices). - ๐ ๏ธ
Android SDK Build-Tools(utilities for compiling code).
If the download is interrupted by 99% or gives an error Connection timed out, try change download server: go to File โ Settings โ Appearance & Behavior โ System Settings โ HTTP Proxy and select Auto-detect proxy settings.
If you have slow Internet, download SDK in advance via official website and unpack to C:\Users\YourName\AppData\Local\Android\Sdk. This will save time when you first start.
Creating the first project and setting up the emulator
After completing the setup, you will see the main thing window Android Studio. To create the first project:
- Click
New Project. - Select a template
Empty Activity(the simplest application with one activity). - Set the project name (for example,
MyFirstApp), select the language (JavaorKotlin) and the minimum version Android (recommendedAPI 21: Android 5.0 Lollipopfor wide compatibility). - Click
Finish.
Gradle (project build system) will begin synchronization - this may take several minutes. A panel Build with progress will appear at the bottom of the window. If synchronization takes a long time, check your Internet connection or click Try Again in case of an error.
Now let's set up the emulator to test the application:
- Go to
Tools โ Device Manager. - Click
Create Deviceand select the model (for example, Pixel 5). - Select system image: recommended
Android 12 (API 31)or newer. - Click
NextthenFinish.
Starting the emulator for the first time may take 5โ10 minutes. If the emulator does not start, check:
- ๐น Is
Hyper-Venabled (see the section on system requirements). - ๐น Is there enough disk space (the emulator creates a virtual disk of ~2 GB in size).
- ๐น Are there any conflicts with other virtualization apps (VirtualBox, VMware).
To speed up the emulator, use images marked Google Play โthey include pre-installed services Google, but require more disk space.
Solving common installation errors
Even if you follow the instructions exactly, problems may arise. Let's look at the most common errors and how to fix them:
| Error | Cause | Solution |
|---|---|---|
Failed to install Android SDK |
No permission to write to the folder SDK or the antivirus is blocking the installation. |
Run Android Studio as administrator or add the folder SDK to the antivirus exceptions. |
Emulator: Warning: Quick Boot / Snapshots not supported |
Virtualization is disabled in BIOS or there is a conflict with Hyper-V. |
Enable VT-x in BIOS or use the emulator without acceleration (Software - GLES 2.0). |
Gradle build failed with error Java heap space |
Insufficient memory for Gradle (default allocated 1 GB). |
Increase the memory in the file gradle.properties (add a line org.gradle.jvmargs=-Xmx2048m). |
| The emulator does not connect to the Internet. | Problems with DNS or proxy. |
In the emulator settings (Settings โ Proxy), specify Auto-detect or manually write DNS 8.8.8.8. |
If you see an error Unable to install Android SDK Platform, try:
- Delete folder
C:\Users\YourName\.android(it will be created again). - Run Android Studio with the key
--disable-gpu(via shortcut: add the key in the fieldObjectafter the path tostudio64.exe).
โ ๏ธ Attention: If after the update Windows 10 the emulator stops starting, check if the settings have been reset. Hyper-VThis is a common problem after major system updates (for example, Windows 10 22H2).
Optimizing Android Studio to speed up work
Default Android Studio consumes a lot of resources. Here are some tips for optimization:
- ๐ง Increase memory for
Gradle:- Open the file
gradle.propertiesin the root project. - Add lines:
org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=1024m
- Open the file
- โก Disable unnecessary plugins: Go to
File โ Settings โ Pluginsand deactivate plugins that you do not use (for example,Google Cloud ToolsorFirebase). - ๐๏ธ Clear the cache: Run regularly
File โ Invalidate Caches / Restart(especially if Android Studio starts to slow down). - ๐ฅ๏ธ Use
Power Save Mode: Enable it via the battery icon in the status bar (disables background indexing and checks).
To speed up the emulator:
- ๐ฑ Select the image marked
Google Play(they are optimized). - ๐ Enable
Quick Bootin the emulator settings (saves the state between starts). - ๐พ Install the emulator to
SSD(reduces loading time by 2-3 times).
If you have a weak PC, consider alternatives:
- ๐ Genymotion โ lighter emulator (plugins for Android Studio available).
- ๐ฑ Testing on a real device via
ADB(required to be enabledUSB debuggingin the smartphone settings).
FAQ: answers to frequently asked questions
Can I install Android Studio on Windows 10 32-bit?
No, Android Studio requires 64-bit version Windows. If you have a 32-bit system, consider upgrading to Windows 10/11 x64 or use a cloud development environment (for example, GitHub Codespaces).
How to move Android Studio to another drive?
The installer itself Android Studio can be transferred via standard uninstall/install. For transfer SDK and projects:
- Copy the folder
C:\Users\YourName\AppData\Local\Android\Sdkto a new disk. - In Android Studio go to
File โ Settings โ Appearance & Behavior โ System Settings โ Android SDK. - Specify the new path to
SDKin the fieldAndroid SDK Location.
Projects can simply be moved to a new folder and opened through File โ Open.
Do I need to update Android Studio and SDK?
Yes, regular updates fix bugs and add support for new versions. To update: Android. To update:
- For Android Studio:
Help โ Check for Updates. - For
SDK:Tools โ SDK Managerโ select the latest versionsAndroid APIandBuild-Tools.
Old versions SDK can be deleted via SDK Manager (will free up disk space).
How to connect a real device for debugging?
To test applications on smartphone:
- Enable
Developer modeon the phone:Settings โ About phone โ Number assembly(press 7 times). - Enable
USB debugginginSettings โ System โ For developers. - Connect your phone to the PC via
USB(use the original cable!). - In Android Studio select the device in the drop-down menu
Run.
If the device is not detected, install the drivers Google USB Driver via SDK Manager.
Can I use Android Studio without the Internet?
Yes, but with reservations:
- ๐น Install Android Studio and
SDKon a PC with the Internet, then transfer to an offline machine. - ๐น Download the necessary components in advance via
SDK Manager(for example,Android API 30โ33,Build-Tools). - ๐น For
Gradleset up a local cache: in the filegradle.propertiesadd:android.enableOfflineMode=true
Without the Internet you will not be able to update SDK or download new libraries via Gradle.