How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (2024)

How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (1)

The Android SDK (Software Development Kit) is a large and powerful tool that’s essential if you’re looking to get into Android app development. It serves a number of other purposes, too, such as using the command line to sideload apps onto your Android phone.

There are quite a few details and things to consider when installing the Android SDK on your Windows PC. The following guide should help you wade through the process.

Content

  • Install the Latest Version of Java
  • Install SDK Command Line
  • Getting Started With SDK Command Line
  • Install Android Studio
  • Frequently Asked Questions

Also read: How to Install Google Play Store on Windows 11

Install the Latest Version of Java

If you don’t want to use Android Studio and just want the Android SDK command line version, then you’ll need to first download and install Java.

  1. On the official Java Downloads page, scroll down and click on the “Windows” tab.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (2)
  1. The available downloads will now come into view. Select and download the “x64 MSI Installer.”
  2. Go ahead and install the latest Java version on your PC. You’ll be able to find it in C:\Program Files\Java\jdk-18.0.1.1 (or whatever version number you’ve installed – 18.0.1.1 being the number version).
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (3)

Also read: How to Access an Android Phone With a Broken Screen

Install SDK Command Line

Android Studio is a space-consuming app, and while we think its UI (user interface) makes it a very accessible way of managing your development tools and packages, some people prefer the command-line route.

  1. On the Android Studio download page, pick the Windows option under “Command line tools only.”
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (4)
  1. The SDK tool package will download to your PC as a .zip file. Extract the zip file. You should see a “cmdline-tools” within the extracted folder.
  2. In your C: drive, create a new “Android” folder.
  3. Within the Android folder, create a new folder “cmdline-tools”. And within this “cmdline-tools” folder, create a “tools” folder.
  4. Lastly, move the content of the extracted file to the “Tools” folder.

Also read: How to Install Windows from Android

Getting Started With SDK Command Line

  1. Run Command Prompt as Administrator.
  2. Next, cd to the “bin” folder:
cd C:\Android\cmdline-tools\tools\bin
  1. Type the following command, which will show you a list of installed, valid packages, as well as those that can be updated.
sdkmanager --list
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (5)
  1. To install the platform tools, type the command:
sdkmanager "platform-tools" "platforms;android-33"

After the installation, you should find new “platform-tools” folder in the “Android” folder. Within this folder contains the adb.exe, fastboot.exe and several other executables.

How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (6)

This will give you access to the adb and fastboot commands, which are great if you enjoy sideloading things onto Android and dabbling in the recovery options.

Also read: How to Share Files Between Android and Windows on Your Network

Install Android Studio

Alternatively, if you want to enjoy all the modern features, conveniences and UI elements of Android Studio, then it’s pretty simple.

  1. On the Android Studio download page, select “Download Android Studio,” and follow the instructions. During installation, however, there are a couple of things to consider.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (7)
  1. The installer will offer to install an extra feature called Android Virtual Device, which creates an emulated environment to test various features and apps. Confirm whether you want to install this feature. (You’ll be asked again later whether you want to install this, so it doesn’t matter if you skip it here.)
  1. Once you do this and select an install directory, Android Studio will begin installing. It’s a big program so may take a while, depending on your hardware.
  2. Once Android Studio is installed, open it. It will ask whether you want to import your existing Android Studio settings.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (9)
  1. After that, click “Next” to follow the wizard, then “Custom” to install custom components (if you want that).
  2. In case you need Java with your Android Studio projects, go to your Java directory when prompted. In our case, it’s “C:\Program Files\Java\jdk-18.0.1.1”.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (10)
  1. Select your theme, then pick any extra components you want to install. We recommend checking the “Performance” box to improve Android emulation based on your processor, and you can again pick Android Virtual Device if you think you’ll be using it.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (11)

Also read: 10 of the Best Android Emulators for Your Desktop

  1. Keep clicking “Next,” then “Finish” when you’re done.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (12)
  1. Once Android Studio is fully installed, open it and you’re away.
  2. Click “Create New Project,” and feast your eyes on the great selection of templates.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (13)
  1. Or click on “More Actions” of the main Android Studio screen.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (14)
  1. This will open a drop-down menu with options like SDK Manager and Virtual Device Manager. Below, you can take a look at SDK Manager.
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (15)

Also read: 8 Ways to Run Android Apps in Windows

Frequently Asked Questions

How can I check my current Java version?

You might not need to install the latest Java version on your PC prior to installing your command line tools. Checking your Java version is easy, just type the following command into Command Prompt: java -version. Cmd will immediately display the version you’re running.

I'm getting an "sdkmanager is not recognized as an internal or external command, operable program or batch file" error. How can I fix it?

You need to revisit the part of the tutorial where you set up environmental variables. Make sure you follow the steps of where to unzip the command-line tool. It’s important. Double check if you copied the correct path from the source folder and if you’ve pasted it in the right place.

My Android Studio download got stuck. What can I do?

If you’re experiencing your download freezing, it could be due to high CPU usage or internet issues, which might have caused the download to get interrupted. To counter the latter, we recommend closing all the programs/apps that are running at that point to prevent the internet being consumed by other processes. In the case of high CPU usage, here’s a list of fixes to help you deal with this problem.

Image credit: Zain Ali via Pexels

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (16)

Alexandra Arici - Staff Writer

Alexandra is passionate about mobile tech and can be often found fiddling with a smartphone from some obscure company. She kick-started her career in tech journalism in 2013, after working a few years as a middle-school teacher. Constantly driven by curiosity, Alexandra likes to know how things work and to share that knowledge with everyone.

  • Facebook
  • Tweet
How to Install Android Studio and SDK Tools in Windows - Make Tech Easier (2024)
Top Articles
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 5951

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.