Introduction
Android Studio is the official Integrated Development Environment (IDE) for Android app development. This guide will walk you through the installation and initial setup process for both macOS and Windows operating systems.
System Requirements
macOS
- OS Version: macOS 10.14 (Mojave) or higher
- RAM: 8 GB minimum (16 GB recommended)
- Disk Space: 8 GB minimum
- Screen Resolution: 1280 x 800 minimum
Windows
- OS Version: Windows 10 64-bit or higher
- RAM: 8 GB minimum (16 GB recommended)
- Disk Space: 8 GB minimum
- Screen Resolution: 1280 x 800 minimum
Installation on macOS
Download Android Studio
- Visit the official Android Studio download page: https://developer.android.com/studio
- Click the Download Android Studio button
- Accept the terms and conditions
- The download will begin automatically (approximately 1 GB)
Install Android Studio
- Open the downloaded
.dmg
file - Drag and drop Android Studio into the Applications folder
- Open Finder → Applications
- Double-click Android Studio to launch it
infoIf you see a security warning about an unidentified developer, go to System Preferences → Security & Privacy and click Open Anyway.
Complete the Setup Wizard
- When the setup wizard launches, click Next
- Choose Standard installation type (recommended for beginners)
- Select your preferred UI theme (Light or Dark)
- Review the settings summary
- Click Finish to download the Android SDK and other components
errorThis step requires internet connection and may take 10-30 minutes depending on your connection speed.
Verify Installation
- Once the downloads complete, click Finish
- You should see the Android Studio welcome screen
- Click More Actions → SDK Manager to verify SDK installation
- Ensure the latest Android SDK version is installed
Installation on Windows
Download Android Studio
- Visit the official Android Studio download page: https://developer.android.com/studio
- Click the Download Android Studio button
- Accept the terms and conditions
- Save the
.exe
installer file to your computer
Install Android Studio
- Double-click the downloaded
.exe
file to launch the installer - If prompted by User Account Control, click Yes
- Click Next on the welcome screen
- Select components to install:
- Android Studio (required)
- Android Virtual Device (recommended)
- Choose the installation location (default is usually fine)
- Click Install
infoMake sure you have enough space on your chosen drive for the SDK and virtual devices.
Complete the Setup Wizard
- Once installation completes, click Next then Finish
- Android Studio will launch automatically
- In the setup wizard, click Next
- Choose Standard installation type (recommended for beginners)
- Select your preferred UI theme (Light or Dark)
- Review the settings summary
- Click Finish to download the Android SDK and other components
errorThis step requires internet connection and may take 10-30 minutes depending on your connection speed.
Verify Installation
- Once the downloads complete, click Finish
- You should see the Android Studio welcome screen
- Click More Actions → SDK Manager to verify SDK installation
- Ensure the latest Android SDK version is installed
Initial Configuration
Configure Android SDK
- From the welcome screen, click More Actions → SDK Manager
- In the SDK Platforms tab:
- Select the latest Android API level
- Select any additional API levels you need
- In the SDK Tools tab, ensure these are installed:
- Android SDK Build-Tools
- Android Emulator
- Android SDK Platform-Tools
- Intel x86 Emulator Accelerator (for Windows/Mac Intel processors)
- Click Apply to install selected packages
Create a Virtual Device (Emulator)
Watch this video tutorial for configuring an AVD:
Step-by-step instructions:
- From the welcome screen, click More Actions → Virtual Device Manager
- Click Create Device
- Select a device definition (e.g., Pixel 6)
- Click Next
- Select a system image (download if needed)
- Click Next
- Name your AVD and configure settings if needed
- Click Finish
Test Your Setup
- From the welcome screen, click New Project
- Select Empty Activity
- Click Next
- Configure your project:
- Name: Test App
- Package name: com.example.testapp
- Language: Java or Kotlin
- Click Finish
- Wait for Gradle to build
- Click the Run button (green play icon)
- Select your virtual device
- Wait for the emulator to launch and your app to run
Common Issues and Troubleshooting
macOS Issues
-
“Android Studio.app is damaged and can’t be opened” chevron_right
This is a Gatekeeper issue. Open Terminal and run:
$ xattr -cr /Applications/Android\ Studio.app
Then try launching Android Studio again.
-
Emulator won’t start on Mac with Apple Silicon chevron_right
Make sure you’ve downloaded ARM64 system images (not x86) in the SDK Manager. Apple Silicon Macs require ARM-based emulator images.
Windows Issues
-
“Unable to access Android SDK add-on list” chevron_right
This is usually a network/firewall issue. Check your internet connection and firewall settings. You may need to configure proxy settings in Android Studio under File → Settings → Appearance & Behavior → System Settings → HTTP Proxy.
-
Emulator performance is very slow chevron_right
Enable Intel HAXM (Hardware Accelerated Execution Manager):
- Open SDK Manager
- Go to SDK Tools tab
- Check Intel x86 Emulator Accelerator (HAXM installer)
- Click Apply
- After download, navigate to
SDK\extras\intel\Hardware_Accelerated_Execution_Manager\
- Run
intelhaxm-android.exe
as administrator
-
HAXM installation fails or emulator conflicts with Hyper-V chevron_right
Intel HAXM and Hyper-V cannot run simultaneously on Windows. If you have Hyper-V enabled (required for Docker, WSL2, etc.), you have two options:
Option 1: Use Android Emulator with Hyper-V
- Open SDK Manager
- Ensure you have Android Emulator version 27.0.0 or higher
- Android Emulator now supports Hyper-V acceleration
- No need to disable Hyper-V or install HAXM
Option 2: Disable Hyper-V to use HAXM
Open PowerShell or Command Prompt as Administrator and run:
$ bcdedit /set hypervisorlaunchtype off
Then restart your computer. To re-enable Hyper-V later:
$ bcdedit /set hypervisorlaunchtype auto
infoOption 1 is recommended as it allows you to keep Hyper-V enabled for other tools. Modern versions of Android Emulator work well with Hyper-V.
Additional Resources
Next Steps
Now that you have Android Studio installed and configured, you’re ready to start developing Android applications! Consider exploring:
- Creating your first Android app
- Learning about Android Activities and Fragments
- Understanding the Android lifecycle
- Exploring the Android UI toolkit
- Setting up version control with Git
infoKeep Android Studio updated by checking Help → Check for Updates regularly to get the latest features and bug fixes.